summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/help.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-19 05:44:22 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-19 05:44:22 +0000
commit8dbcc983b98ecc78a4396ae98c4219ed5128d5ae (patch)
tree331f76d8f515ceb71ff5504e7f156b32b06b57a4 /pym/_emerge/help.py
parent5ebcc3927e39b4531c8633d7d8c0a377e7e174b1 (diff)
downloadportage-8dbcc983b98ecc78a4396ae98c4219ed5128d5ae.tar.gz
portage-8dbcc983b98ecc78a4396ae98c4219ed5128d5ae.tar.bz2
portage-8dbcc983b98ecc78a4396ae98c4219ed5128d5ae.zip
Add a new --deselect action which removes atoms from the world file. This
action is implied by uninstall actions, including --depclean, --prune and --unmerge. Use --deselect=n in order to prevent uninstall actions from removing atoms from the world file. This solves bug #259994 and bug #265206. svn path=/main/trunk/; revision=13363
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 fd57cc3be..4afece3a3 100644
--- a/pym/_emerge/help.py
+++ b/pym/_emerge/help.py
@@ -106,6 +106,18 @@ def help(myaction,myopts,havecolor=1):
for line in wrap(paragraph, desc_width):
print desc_indent + line
print
+ print " " + green("--deselect") + "[=%s]" % turquoise("n")
+
+ paragraph = \
+ "Remove atoms from the world file. This action is implied " + \
+ "by uninstall actions, including --depclean, " + \
+ "--prune and --unmerge. Use --deselect=n " + \
+ "in order to prevent uninstall actions from removing " + \
+ "atoms from the world file."
+
+ for line in wrap(paragraph, desc_width):
+ print desc_indent + line
+ print
print " "+green("--info")
print " Displays important portage variables that will be exported to"
print " ebuild.sh when performing merges. This information is useful"