summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-29 19:32:57 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-29 19:32:57 +0000
commit6c4dd752f897a71814be6ebecbe37d4e3ca63b5a (patch)
tree8b4a39e30c0146f7aae206c648704d12f91a936b /pym/_emerge/help.py
parentAdd a --root option that sets $ROOT (complements the --config-root option). (diff)
downloadportage-idfetch-6c4dd752f897a71814be6ebecbe37d4e3ca63b5a.tar.gz
portage-idfetch-6c4dd752f897a71814be6ebecbe37d4e3ca63b5a.tar.bz2
portage-idfetch-6c4dd752f897a71814be6ebecbe37d4e3ca63b5a.zip
Document --root and --config-root.
svn path=/main/trunk/; revision=13247
Diffstat (limited to 'pym/_emerge/help.py')
-rw-r--r--pym/_emerge/help.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py
index 828f4356..15aa88a0 100644
--- a/pym/_emerge/help.py
+++ b/pym/_emerge/help.py
@@ -269,6 +269,12 @@ def help(myaction,myopts,havecolor=1):
for line in wrap(desc, desc_width):
print desc_indent + line
print
+ print " "+green("--config-root=DIR")
+ desc = "Set the PORTAGE_CONFIGROOT environment variable " + \
+ "which is documented in the emerge(1) man page."
+ for line in wrap(desc, desc_width):
+ print desc_indent + line
+ print
print " "+green("--debug")+" ("+green("-d")+" short option)"
print " Tell emerge to run the ebuild command in --debug mode. In this"
print " mode, the bash build environment will run with the -x option,"
@@ -419,6 +425,12 @@ def help(myaction,myopts,havecolor=1):
print " not trigger reinstallation when flags that the user has not"
print " enabled are added or removed."
print
+ print " "+green("--root=DIR")
+ desc = "Set the ROOT environment variable " + \
+ "which is documented in the emerge(1) man page."
+ for line in wrap(desc, desc_width):
+ print desc_indent + line
+ print
print " "+green("--root-deps")
desc = "Install build-time dependencies to ROOT instead of /. This option " + \
"should not be enabled under normal circumstances. For currently supported " + \