Better cmd line error message.
authorRobert Bradshaw <robertwb@math.washington.edu>
Sat, 21 Nov 2009 01:10:16 +0000 (17:10 -0800)
committerRobert Bradshaw <robertwb@math.washington.edu>
Sat, 21 Nov 2009 01:10:16 +0000 (17:10 -0800)
Cython/Compiler/CmdLine.py

index 2934747323502eaaea780ecdfdd05de8d9652317..4818789eaef901b820dc9a1965f36a2154ba62b1 100644 (file)
@@ -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()