aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-23 12:20:41 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-23 12:20:41 +0100
commit9f11daf92a9afa88ac764d255baa8d2c3e16d988 (patch)
tree7bb846738270c9c6538432fbd860e901875ebd5f
parent009119d867b93a4983c608ed748aef49e326ea14 (diff)
downloadpaludis-9f11daf92a9afa88ac764d255baa8d2c3e16d988.tar.gz
paludis-9f11daf92a9afa88ac764d255baa8d2c3e16d988.tar.xz
reconcilio is deprecated
-rw-r--r--src/clients/reconcilio/command_line.cc9
-rw-r--r--src/clients/reconcilio/reconcilio.cc5
2 files changed, 9 insertions, 5 deletions
diff --git a/src/clients/reconcilio/command_line.cc b/src/clients/reconcilio/command_line.cc
index e458c33..4a04145 100644
--- a/src/clients/reconcilio/command_line.cc
+++ b/src/clients/reconcilio/command_line.cc
@@ -81,6 +81,8 @@ CommandLine::CommandLine() :
add_example(
"reconcilio --pretend --library 'libXi.so.6",
"Find and display any packages that need a named library.");
+
+ add_note("Reconcilio is deprecated. Use 'cave search' instead.");
}
std::string
@@ -92,16 +94,15 @@ CommandLine::app_name() const
std::string
CommandLine::app_synopsis() const
{
- return "Rebuilds packages with broken linkage.";
+ return "A deprecated client for rebuilding packages with broken linkage.";
}
std::string
CommandLine::app_description() const
{
return
- "reconcilio searches for and rebuilds packages that are linked against "
- "libraries that are not present on the system, or a specific library "
- "named by the user.";
+ "Reconcilio is a deprecated linkage fixing client for Paludis. 'cave fix-linkage' should "
+ "be used instead.";
}
CommandLine::~CommandLine()
diff --git a/src/clients/reconcilio/reconcilio.cc b/src/clients/reconcilio/reconcilio.cc
index fff2351..c6839b1 100644
--- a/src/clients/reconcilio/reconcilio.cc
+++ b/src/clients/reconcilio/reconcilio.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2007, 2008 Ciaran McCreesh
+ * Copyright (c) 2007, 2008, 2010 Ciaran McCreesh
* Copyright (c) 2007 David Leverton
*
* This file is part of the Paludis package manager. Paludis is free software;
@@ -62,6 +62,9 @@ main(int argc, char *argv[])
Context context(std::string("In program ") + argv[0] + " " + options + ":");
+ Log::get_instance()->message("reconcilio.deprecated", ll_warning, lc_context)
+ << "inquisitio is deprecated. Use 'cave fix-linkage' instead.";
+
try
{
CommandLine::get_instance()->run(argc, argv, "reconcilio", "RECONCILIO_OPTIONS", "RECONCILIO_CMDLINE");