aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-11 16:23:27 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-11 16:52:26 +0000
commite7738562740e3ec68c96e8e86a582f4da000aefd (patch)
treeb50f2f12316e992c7ac42f4c7a34664f7f103ca0
parent686c441b8d9449ba49b861e84e19b50f7ae5f469 (diff)
downloadpaludis-e7738562740e3ec68c96e8e86a582f4da000aefd.tar.gz
paludis-e7738562740e3ec68c96e8e86a582f4da000aefd.tar.xz
paludis is deprecated
-rw-r--r--src/clients/paludis/command_line.cc9
-rw-r--r--src/clients/paludis/paludis.cc5
2 files changed, 8 insertions, 6 deletions
diff --git a/src/clients/paludis/command_line.cc b/src/clients/paludis/command_line.cc
index 762c3ee..cd04d7c 100644
--- a/src/clients/paludis/command_line.cc
+++ b/src/clients/paludis/command_line.cc
@@ -202,6 +202,8 @@ CommandLine::CommandLine() :
add_example(
"paludis --uninstall-unused --pretend",
"Uninstall all unused packages.");
+
+ add_note("paludis is deprecated. Use 'cave' instead.");
}
std::string
@@ -213,16 +215,13 @@ CommandLine::app_name() const
std::string
CommandLine::app_synopsis() const
{
- return "The other package mangler";
+ return "The deprecated other package mangler client";
}
std::string
CommandLine::app_description() const
{
- return
- "paludis is the command line interface used to handle packages. It can query and "
- "install packages, update repositories and display information about packages "
- "already installed on a system.";
+ return "paludis is deprecated; use 'cave' instead.";
}
CommandLine::~CommandLine()
diff --git a/src/clients/paludis/paludis.cc b/src/clients/paludis/paludis.cc
index 10983df..4bfca4e 100644
--- a/src/clients/paludis/paludis.cc
+++ b/src/clients/paludis/paludis.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2005, 2006, 2007, 2008, 2009 Ciaran McCreesh
+ * Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -90,6 +90,9 @@ main(int argc, char *argv[])
Context context(std::string("In program ") + argv[0] + " " + options + ":");
+ Log::get_instance()->message("paludis.deprecated", ll_warning, lc_context)
+ << "paludis is deprecated. Use 'cave' instead.";
+
try
{
CommandLine::get_instance()->run(argc, argv, "paludis", "PALUDIS_OPTIONS", "PALUDIS_CMDLINE");