From b7b50f44fb956c441de26ac50275467fb5b94d75 Mon Sep 17 00:00:00 2001 From: garyo Date: Tue, 15 Dec 2009 02:43:01 +0000 Subject: [PATCH] Integrated patch for bug 2530: SCons should not exit with 0 (success) on unimplemented option error. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4546 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Script/SConsOptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/SCons/Script/SConsOptions.py b/src/engine/SCons/Script/SConsOptions.py index cf2d9977..35165a05 100644 --- a/src/engine/SCons/Script/SConsOptions.py +++ b/src/engine/SCons/Script/SConsOptions.py @@ -870,7 +870,7 @@ def Parser(version): def opt_not_yet(option, opt, value, parser): msg = "Warning: the %s option is not yet implemented\n" % opt sys.stderr.write(msg) - sys.exit(0) + sys.exit(1) op.add_option('-l', '--load-average', '--max-load', -- 2.26.2