summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/help.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-03-14 10:52:17 -0700
committerZac Medico <zmedico@gentoo.org>2011-03-14 10:53:00 -0700
commit6cf5535bf35791a6349fac2c04299b59c5659ea0 (patch)
tree9f71bccbe1f7340d67dca64c43f11733d6dfb6f4 /pym/_emerge/help.py
parent26ae72ffc3b450c637ebb26877ad7d3aaded1f94 (diff)
downloadportage-6cf5535bf35791a6349fac2c04299b59c5659ea0.tar.gz
portage-6cf5535bf35791a6349fac2c04299b59c5659ea0.tar.bz2
portage-6cf5535bf35791a6349fac2c04299b59c5659ea0.zip
emerge: support [ y | n ] for --quietv2.1.9.43
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.py7
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):