Minor patch (--help should display basic help)

This commit is contained in:
Miroslav Stampar
2016-10-05 17:01:58 +02:00
parent af1c9c7fb2
commit 6107696e25
3 changed files with 4 additions and 4 deletions

View File

@@ -900,7 +900,7 @@ def cmdLineParser(argv=None):
elif argv[i] == "--version":
print VERSION_STRING.split('/')[-1]
raise SystemExit
elif argv[i] == "-h":
elif argv[i] in ("-h", "--help"):
advancedHelp = False
for group in parser.option_groups[:]:
found = False