Commit b104a5f9 authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

Fix bug where --version required following argument.

Also while here sort the options.

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 6881e348
......@@ -69,8 +69,8 @@ def usage():
def main():
filename = DEFAULT_FILE
opts, args = getopt.getopt(sys.argv[1:], 'hvf:',
['help', 'file=', 'version='])
opts, args = getopt.getopt(sys.argv[1:], 'f:hv',
['file=', 'help', 'version'])
except getopt.GetoptError as err:
Supports Markdown
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