diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-29 19:15:01 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-29 19:15:01 +0000 |
commit | 7ba9d8dd2a0da019c16341197b52a14ac6eff9da (patch) | |
tree | c361d9f3423b1224a46056c4d9cca0f65d634ecf /pym/_emerge/help.py | |
parent | 1d640618d001dc715d42132c0024457ee428d5b9 (diff) | |
download | portage-7ba9d8dd2a0da019c16341197b52a14ac6eff9da.tar.gz portage-7ba9d8dd2a0da019c16341197b52a14ac6eff9da.tar.bz2 portage-7ba9d8dd2a0da019c16341197b52a14ac6eff9da.zip |
Add support for --rdeps-only and --root-deps options which are useful in
combination with $ROOT. Thanks to Ned Ludd <solar@g.o> for the initial
patch.
svn path=/main/trunk/; revision=13245
Diffstat (limited to 'pym/_emerge/help.py')
-rw-r--r-- | pym/_emerge/help.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py index 2c5f04bbf..828f4356b 100644 --- a/pym/_emerge/help.py +++ b/pym/_emerge/help.py @@ -404,12 +404,30 @@ def help(myaction,myopts,havecolor=1): print " Effects vary, but the general outcome is a reduced or condensed" print " output from portage's displays." print + print " "+green("--rdeps-only") + desc = "Discard all build-time dependencies. This option is commonly used together " + \ + "with ROOT and it should not be enabled under normal circumstances. For " + \ + "currently supported EAPI values, the dependencies specified in the " + \ + "DEPEND variable are discarded. However, behavior may change for new " + \ + "EAPIs when related extensions are added in the future." + for line in wrap(desc, desc_width): + print desc_indent + line + print print " "+green("--reinstall ") + turquoise("changed-use") print " Tells emerge to include installed packages where USE flags have" print " changed since installation. Unlike --newuse, this option does" print " not trigger reinstallation when flags that the user has not" print " enabled are added or removed." 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 " + \ + "EAPI values, the dependencies specified in the DEPEND variable " + \ + "are used. However, behavior may change for new " + \ + "EAPIs when related extensions are added in the future." + for line in wrap(desc, desc_width): + print desc_indent + line + print print " "+green("--skipfirst") desc = "This option is only valid when " + \ "used with --resume. It removes the " + \ |