Commit 6d8117e9 authored by Jacob Durrant's avatar Jacob Durrant

argparse error throws exception.

parent be60afb9
......@@ -79,8 +79,9 @@ class MyParser(argparse.ArgumentParser):
sys.stderr.write('error: %s\n\n' % message)
msg = "ERROR: %s\n\n" % message
raise Exception(msg)
def print_help(self, file=None):
"""Overwrite the default print_help function
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