Commit b3da8b4e authored by juga  's avatar juga
Browse files

Fix --version, so that other programs can parse it

parent 4b5aebd3
......@@ -20,7 +20,7 @@ def create_parser():
p = ArgumentParser(formatter_class=ArgumentDefaultsHelpFormatter)
p.add_argument(
'--version', action='version', help='sbws version',
version='%(prog)s {}'.format(__version__))
version='{}'.format(__version__))
p.add_argument('--log-level',
choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'],
help='Override the sbws log level')
......
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