summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-04-27 15:58:16 -0700
committerZac Medico <zmedico@gentoo.org>2011-04-27 15:58:16 -0700
commit16cca624a56e9f5032c83b88e9b58349ac87319f (patch)
treed9e4c6d11b9218c864733ccbd38689326ebfb042 /pym/_emerge
parent80b72a3e8a1d0e04f430db3a7f5924f123362d7c (diff)
downloadportage-16cca624a56e9f5032c83b88e9b58349ac87319f.tar.gz
portage-16cca624a56e9f5032c83b88e9b58349ac87319f.tar.bz2
portage-16cca624a56e9f5032c83b88e9b58349ac87319f.zip
emerge: add --help for 3 new options
Diffstat (limited to 'pym/_emerge')
-rw-r--r--pym/_emerge/help.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py
index a120f54d3..ffc81e922 100644
--- a/pym/_emerge/help.py
+++ b/pym/_emerge/help.py
@@ -550,6 +550,12 @@ def help(myopts, havecolor=1):
print(" "+green("--nospinner"))
print(" Disables the spinner regardless of terminal type.")
print()
+ print(" " + green("--nousepkg-atoms") + " " + turquoise("ATOMS"))
+ desc = "A space separated list of package names or slot atoms." + \
+ " Emerge will ignore matching binary packages."
+ for line in wrap(desc, desc_width):
+ print(desc_indent + line)
+ print()
print(" "+green("--oneshot")+" ("+green("-1")+" short option)")
print(" Emerge as normal, but don't add packages to the world profile.")
print(" This package will only be updated if it is depended upon by")
@@ -627,6 +633,13 @@ def help(myopts, havecolor=1):
print(" not trigger reinstallation when flags that the user has not")
print(" enabled are added or removed.")
print()
+ print(" " + green("--reinstall-atoms") + " " + turquoise("ATOMS"))
+ desc = "A space separated list of package names or slot atoms. " + \
+ "Emerge will treat matching packages as if they are not " + \
+ "installed, and reinstall them if necessary."
+ for line in wrap(desc, desc_width):
+ print(desc_indent + line)
+ print()
print(" "+green("--root=DIR"))
desc = "Set the ROOT environment variable " + \
"which is documented in the emerge(1) man page."
@@ -709,6 +722,13 @@ def help(myopts, havecolor=1):
for line in wrap(desc, desc_width):
print(desc_indent + line)
print()
+ print(" " + green("--useoldpkg-atoms") + " " + turquoise("ATOMS"))
+ desc = "A space separated list of package names or slot atoms." + \
+ " Emerge will prefer matching binary packages over newer" + \
+ " unbuilt packages."
+ for line in wrap(desc, desc_width):
+ print(desc_indent + line)
+ print()
print(" " + green("--usepkg") + \
" [ %s | %s ] (%s short option)" % \
(turquoise("y"), turquoise("n"), green("-k")))