Commit 220bbadc authored by Robert Bradshaw's avatar Robert Bradshaw

Better cmd line error message.

parent f404ba74
...@@ -126,6 +126,7 @@ def parse_command_line(args): ...@@ -126,6 +126,7 @@ def parse_command_line(args):
sys.stderr.write("Error in compiler directive: %s\n" % e.message) sys.stderr.write("Error in compiler directive: %s\n" % e.message)
sys.exit(1) sys.exit(1)
else: else:
sys.stderr.write("Unknown compiler flag: %s\n" % option)
bad_usage() bad_usage()
else: else:
arg = pop_arg() arg = pop_arg()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment