diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-03-14 10:52:17 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-03-14 10:52:17 -0700 |
commit | 9bdc01a9ef0c5c6373a4a4ac5ad288dc9018372c (patch) | |
tree | 952192e1da94427430f14a6e039720941fba2ced /pym/_emerge/help.py | |
parent | c410989b38b172e5d38a861cd795370344d74f62 (diff) | |
download | portage-9bdc01a9ef0c5c6373a4a4ac5ad288dc9018372c.tar.gz portage-9bdc01a9ef0c5c6373a4a4ac5ad288dc9018372c.tar.bz2 portage-9bdc01a9ef0c5c6373a4a4ac5ad288dc9018372c.zip |
emerge: support [ y | n ] for --quietv2.2.0_alpha27
This allows --quiet and --quiet-build to be enabled via
EMERGE_DEFAULT_OPTS, and then temporarily disabled via the command-
line.
Diffstat (limited to 'pym/_emerge/help.py')
-rw-r--r-- | pym/_emerge/help.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py index 2f8b342cd..020bc4206 100644 --- a/pym/_emerge/help.py +++ b/pym/_emerge/help.py @@ -578,11 +578,14 @@ def help(myopts, havecolor=1): print(" printed out accompanied by a '+' for enabled and a '-' for") print(" disabled USE flags.") print() - print(" "+green("--quiet")+" ("+green("-q")+" short option)") + print(" " + green("--quiet") + \ + " [ %s | %s ] (%s short option)" % \ + (turquoise("y"), turquoise("n"), green("-q"))) print(" Effects vary, but the general outcome is a reduced or condensed") print(" output from portage's displays.") print() - print(" "+green("--quiet-build")) + print(" " + green("--quiet-build") + \ + " [ %s | %s ]" % (turquoise("y"), turquoise("n"))) desc = "Redirect all build output to logs alone, and do not " + \ "display it on stdout." for line in wrap(desc, desc_width): |