summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-06-17 18:42:39 +0100
committerJosé Fonseca <jfonseca@vmware.com>2011-06-17 20:13:16 +0100
commitc7bd0fa4851187c3102948f5f4d70c26d1b55a5e (patch)
treeae1738a52ba0f1a09bfda460b14e54fb7d19347a /scons
parentbf69ce37f0dcbb479078ee676d5100ac63e20750 (diff)
scons: Accept verbose=yes instead of quiet=no.
'verbose' is affirmative, and much more common name for this sort of option.
Diffstat (limited to 'scons')
-rw-r--r--scons/custom.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scons/custom.py b/scons/custom.py
index a2c690f655e..029f99b9946 100644
--- a/scons/custom.py
+++ b/scons/custom.py
@@ -157,7 +157,8 @@ def createCodeGenerateMethod(env):
def generate(env):
"""Common environment generation code"""
- if env.get('quiet', True):
+ verbose = env.get('verbose', False) or not env.get('quiet', True)
+ if not verbose:
quietCommandLines(env)
# Custom builders and methods