Commit 39048dc5 authored by Robert Bradshaw's avatar Robert Bradshaw

Cmd line option for convert-range, version number

parent 1708af60
...@@ -26,6 +26,7 @@ Options: ...@@ -26,6 +26,7 @@ Options:
performing any binary operations. performing any binary operations.
-D, --no-docstrings Remove docstrings. -D, --no-docstrings Remove docstrings.
-a, --annotate Produce an colorized version of the source. -a, --annotate Produce an colorized version of the source.
--convert-range Convert for loops using range() function to for...from loops.
""" """
#The following experimental options are supported only on MacOSX: #The following experimental options are supported only on MacOSX:
# -C, --compile Compile generated .c file to .o file # -C, --compile Compile generated .c file to .o file
...@@ -88,6 +89,8 @@ def parse_command_line(args): ...@@ -88,6 +89,8 @@ def parse_command_line(args):
Options.docstrings = False Options.docstrings = False
elif option in ("-a", "--annotate"): elif option in ("-a", "--annotate"):
Options.annotate = True Options.annotate = True
elif option == "--convert-range":
Options.convert_range = True
else: else:
bad_usage() bad_usage()
else: else:
......
version = '0.9.6.9' version = '0.9.6.10'
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