From 220bbadce7985bdb7ad8becf4de11f4186d62f06 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Fri, 20 Nov 2009 17:10:16 -0800 Subject: [PATCH] Better cmd line error message. --- Cython/Compiler/CmdLine.py | 1 + 1 file changed, 1 insertion(+) 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() -- 2.26.2