Commit 1c2d87fc authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Add more explicit help for command line

Reviewed-by: iustinp
parent f97c7901
...@@ -170,7 +170,7 @@ if __name__ == "__main__": ...@@ -170,7 +170,7 @@ if __name__ == "__main__":
program = os.path.basename(sys.argv[0]) program = os.path.basename(sys.argv[0])
# Option parsing # Option parsing
parser = optparse.OptionParser() parser = optparse.OptionParser(usage="%prog [options] <config-file>")
parser.add_option('--dry-run', dest='dry_run', parser.add_option('--dry-run', dest='dry_run',
action="store_true", action="store_true",
help="Try to do the conversion, but don't write" help="Try to do the conversion, but don't write"
......
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