[SCons] Invalid command line arguments set a non-zero return code
This commit is contained in:
parent
90b0ee152b
commit
c8e380d88c
1 changed files with 1 additions and 1 deletions
|
|
@ -626,7 +626,7 @@ valid_arguments = (set(opt[0] for opt in windows_compiler_options) |
|
|||
for arg in ARGUMENTS:
|
||||
if arg not in valid_arguments:
|
||||
print 'Encountered unexpected command line argument: %r' % arg
|
||||
sys.exit(0)
|
||||
sys.exit(1)
|
||||
|
||||
# Require a StrictVersion-compatible version
|
||||
ctversion = StrictVersion(env['cantera_version'])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue