From c8e380d88ce0b5fc026b91182b514a6c6c351b92 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sat, 17 Oct 2015 19:00:18 -0400 Subject: [PATCH] [SCons] Invalid command line arguments set a non-zero return code --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 346bfb281..4fde50b28 100644 --- a/SConstruct +++ b/SConstruct @@ -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'])