scons: Accept verbose=yes instead of quiet=no.

'verbose' is affirmative, and much more common name for this sort of option.
This commit is contained in:
José Fonseca
2011-06-17 18:42:39 +01:00
parent bf69ce37f0
commit c7bd0fa485
2 changed files with 4 additions and 2 deletions

View File

@@ -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