diff options
Diffstat (limited to 'pym/_emerge')
-rw-r--r-- | pym/_emerge/help.py | 4 | ||||
-rw-r--r-- | pym/_emerge/main.py | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py index a0d28702e..69f650518 100644 --- a/pym/_emerge/help.py +++ b/pym/_emerge/help.py @@ -1,4 +1,4 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 from __future__ import print_function @@ -13,7 +13,7 @@ def help(): print(" "+turquoise("emerge")+" < "+turquoise("--sync")+" | "+turquoise("--metadata")+" | "+turquoise("--info")+" >") print(" "+turquoise("emerge")+" "+turquoise("--resume")+" [ "+green("--pretend")+" | "+green("--ask")+" | "+green("--skipfirst")+" ]") print(" "+turquoise("emerge")+" "+turquoise("--help")+" [ "+green("--verbose")+" ] ") - print(bold("Options:")+" "+green("-")+"["+green("abBcCdDefgGhjkKlnNoOpPqrsStuvV")+"]") + print(bold("Options:")+" "+green("-")+"["+green("abBcCdDefgGhjkKlnNoOpPqrsStuvVw")+"]") print(" [ " + green("--color")+" < " + turquoise("y") + " | "+ turquoise("n")+" > ] [ "+green("--columns")+" ]") print(" [ "+green("--complete-graph")+" ] [ "+green("--deep")+" ]") print(" [ "+green("--jobs") + " " + turquoise("JOBS")+" ] [ "+green("--keep-going")+" ] [ " + green("--load-average")+" " + turquoise("LOAD") + " ]") diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py index 6223a137d..96d6a1600 100644 --- a/pym/_emerge/main.py +++ b/pym/_emerge/main.py @@ -169,6 +169,7 @@ def insert_optional_args(args): 'K' : y_or_n, 'q' : y_or_n, 'v' : y_or_n, + 'w' : y_or_n, } arg_stack = args[:] @@ -608,6 +609,7 @@ def parse_opts(tmpcmdline, silent=False): }, "--select": { + "shortopt" : "-w", "help" : "add specified packages to the world set " + \ "(inverse of --oneshot)", "type" : "choice", |