Document --root and --config-root. (trunk r13247)
authorZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 06:47:55 +0000 (06:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 06:47:55 +0000 (06:47 -0000)
svn path=/main/branches/2.1.6/; revision=13426

pym/_emerge/help.py

index 89b3bf043c4d0ea243ef979970aa4acd36b877e1..2a8175f948207985ae9b10d7b1b931a3ac4a147c 100644 (file)
@@ -266,6 +266,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,"
@@ -416,6 +422,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 " + \