summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-06-30 21:33:42 +0000
committerZac Medico <zmedico@gentoo.org>2009-06-30 21:33:42 +0000
commitf2d79bd71046d1b5b9a9c949c667739159ab5c98 (patch)
tree4d872afadd1e984371a0a3ce58fa67ba156b7d8d /pym/_emerge/help.py
parentBug #275901 - Make emerge bail out for USE deps in EAPI 0 and 1. (diff)
downloadportage-idfetch-f2d79bd71046d1b5b9a9c949c667739159ab5c98.tar.gz
portage-idfetch-f2d79bd71046d1b5b9a9c949c667739159ab5c98.tar.bz2
portage-idfetch-f2d79bd71046d1b5b9a9c949c667739159ab5c98.zip
Bug #275945 - Add a new --avoid-update which tries to avoid updating packages
which possible. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13745
Diffstat (limited to 'pym/_emerge/help.py')
-rw-r--r--pym/_emerge/help.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py
index 95069213..1f4b5201 100644
--- a/pym/_emerge/help.py
+++ b/pym/_emerge/help.py
@@ -235,6 +235,17 @@ def help(myaction,myopts,havecolor=1):
print " to the prompt, so an accidental press of the \"Enter\" key at any"
print " time prior to the prompt will be interpreted as a choice!"
print
+ print " "+green("--avoid-update")
+ desc = "Tries to prevent package updates. This may not always be" + \
+ " possible since new packages or new dependencies due to USE" + \
+ " flag changes may require a newer version of an installed" + \
+ " package. Furthermore, this option may lead to slot conflicts" + \
+ " (Multiple package instances within a single package slot" + \
+ " have been pulled into the dependency graph). It is not" + \
+ " possible to use this option in such a case."
+ for line in wrap(desc, desc_width):
+ print desc_indent + line
+ print
print " "+green("--buildpkg")+" ("+green("-b")+" short option)"
desc = "Tells emerge to build binary packages for all ebuilds processed in" + \
" addition to actually merging the packages. Useful for maintainers" + \