scons: Eliminate the redundant "--colors" scons command line option.
The default behavior already is to add color to the output. The option had an action of 'store_true' which would normally set the default value to False, but the --no-colors option immediately after it had the action 'store_false' which apparently set the common dest 'use_colors' to True by default. The net effect was that the --colors option did nothing. Change-Id: I6d6473f85921f90bb629ecb32a0f0f81c02d7914 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40875 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu> Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
This commit is contained in:
@@ -95,8 +95,6 @@ import SCons.Tool
|
||||
|
||||
from m5.util import compareVersions, readCommand, readCommandWithReturn
|
||||
|
||||
AddOption('--colors', dest='use_colors', action='store_true',
|
||||
help="Add color to abbreviated scons output")
|
||||
AddOption('--no-colors', dest='use_colors', action='store_false',
|
||||
help="Don't add color to abbreviated scons output")
|
||||
AddOption('--with-cxx-config', action='store_true',
|
||||
|
||||
Reference in New Issue
Block a user