Integrated patch for bug 2530: SCons should not exit with 0 (success) on unimplemente...
authorgaryo <garyo@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Tue, 15 Dec 2009 02:43:01 +0000 (02:43 +0000)
committergaryo <garyo@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Tue, 15 Dec 2009 02:43:01 +0000 (02:43 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4546 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Script/SConsOptions.py

index cf2d99777af36185d6a92736eb39ea4502aa0d50..35165a05493fe85e71da5b1ba802e8783607169d 100644 (file)
@@ -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',