aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-25 05:57:00 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-25 05:57:00 +0000
commit1589adbc98c5eb2a21158be3b6b92f993af1b441 (patch)
tree7aeb6b912b3556039b5809cb187a638f7615dc1b
parentc02db834ee6a5513c503ae035ae3c44ba0a6bafb (diff)
downloadpaludis-1589adbc98c5eb2a21158be3b6b92f993af1b441.tar.gz
paludis-1589adbc98c5eb2a21158be3b6b92f993af1b441.tar.xz
Add examples to 'man reconcilio'
-rw-r--r--src/clients/reconcilio/command_line.cc14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/clients/reconcilio/command_line.cc b/src/clients/reconcilio/command_line.cc
index 9218e28..d8ef999 100644
--- a/src/clients/reconcilio/command_line.cc
+++ b/src/clients/reconcilio/command_line.cc
@@ -43,7 +43,8 @@ CommandLine::CommandLine() :
a_environment(&general_args, "environment", 'E', "Environment specification (class:suffix, both parts optional)"),
a_exact(&general_args, "exact", '\0', "Rebuild the same package version that is currently installed"),
a_verbose(&general_args, "verbose", 'v', "Display more detailed output"),
- a_resume_command_template(&general_args, "resume-command-template", '\0', "Save the resume command to a file. If the filename contains 'XXXXXX', use mkstemp(3) to generate the filename"),
+ a_resume_command_template(&general_args, "resume-command-template", '\0',
+ "Save the resume command to a file. If the filename contains 'XXXXXX', use mkstemp(3) to generate the filename"),
fix_linkage_args(this, "Fix Linkage options",
"Options which are relevant for --fix-linkage."),
@@ -67,6 +68,17 @@ CommandLine::CommandLine() :
dl_args.dl_new_slots.set_default_arg("as-needed");
add_environment_variable("RECONCILIO_OPTIONS", "Default command-line options.");
+
+ add_example(
+ "reconcilio --pretend",
+ "Find and display any packages that appear to have broken linkage. (Requires read access to "
+ "files to be checked, so best run as root.)");
+ add_example(
+ "reconcilio --pretend --exact",
+ "The same, but try to reinstall exact versions, even if an upgrade is available.");
+ add_example(
+ "reconcilio --pretend --library 'libXi.so.6",
+ "Find and display any packages that need a named library.");
}
std::string