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)
'--version', action='version', help='sbws version',
version='%(prog)s {}'.format(__version__))
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