aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-25 05:50:10 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-25 05:50:10 +0000
commitc02db834ee6a5513c503ae035ae3c44ba0a6bafb (patch)
tree31f92548d9e52774a005bc2c6278430c95ecc802
parent7b2c837862aaa4a0fb320f59dae9ba3e252f1fa2 (diff)
downloadpaludis-c02db834ee6a5513c503ae035ae3c44ba0a6bafb.tar.gz
paludis-c02db834ee6a5513c503ae035ae3c44ba0a6bafb.tar.xz
Add examples to 'man importare'
-rw-r--r--src/clients/importare/command_line.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/clients/importare/command_line.cc b/src/clients/importare/command_line.cc
index db66e56..1acc444 100644
--- a/src/clients/importare/command_line.cc
+++ b/src/clients/importare/command_line.cc
@@ -63,6 +63,15 @@ CommandLine::CommandLine() :
dl_args.dl_reinstall_targets.remove();
add_environment_variable("IMPORTARE_OPTIONS", "Default command-line options.");
+
+ add_example(
+ "importare --location img/ unpackaged/myapp 1.23",
+ "Install the contents of img/ (which could be produced, for example, using 'sudo make DESTDIR=img/ install' "
+ "from an autotools package) as 'unpackaged/myapp' version 1.23. If 'unpackaged/myapp' is already installed, "
+ "it will be replaced.");
+ add_example(
+ "importare --location /var/empty sys-apps/portage 2.2",
+ "Install an empty fake package named 'sys-apps/portage', version 2.2. DANGEROUS!");
}
std::string