From 9bdc01a9ef0c5c6373a4a4ac5ad288dc9018372c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 14 Mar 2011 10:52:17 -0700 Subject: emerge: support [ y | n ] for --quiet This allows --quiet and --quiet-build to be enabled via EMERGE_DEFAULT_OPTS, and then temporarily disabled via the command- line. --- pym/_emerge/help.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pym/_emerge/help.py') 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): -- cgit v1.2.3-1-g7c22