From: Robert Bradshaw Date: Sat, 21 Nov 2009 01:10:16 +0000 (-0800) Subject: Better cmd line error message. X-Git-Tag: 0.12~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=220bbadce7985bdb7ad8becf4de11f4186d62f06;p=cython.git Better cmd line error message. --- diff --git a/Cython/Compiler/CmdLine.py b/Cython/Compiler/CmdLine.py index 29347473..4818789e 100644 --- a/Cython/Compiler/CmdLine.py +++ b/Cython/Compiler/CmdLine.py @@ -126,6 +126,7 @@ def parse_command_line(args): sys.stderr.write("Error in compiler directive: %s\n" % e.message) sys.exit(1) else: + sys.stderr.write("Unknown compiler flag: %s\n" % option) bad_usage() else: arg = pop_arg()