Document --root and --config-root.
authorZac Medico <zmedico@gentoo.org>
Sun, 29 Mar 2009 19:32:57 +0000 (19:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 29 Mar 2009 19:32:57 +0000 (19:32 -0000)
svn path=/main/trunk/; revision=13247

pym/_emerge/help.py

index 828f4356be34f7450e7ac30011a4ff532c7404b6..15aa88a027fa4ed780d2071383234fe4edb3540d 100644 (file)
@@ -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 " + \