From: garyo Date: Tue, 15 Dec 2009 02:43:01 +0000 (+0000) Subject: Integrated patch for bug 2530: SCons should not exit with 0 (success) on unimplemente... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b7b50f44fb956c441de26ac50275467fb5b94d75;p=scons.git 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 --- 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',