Fix help flags
This commit is contained in:
parent
1d0378dd7b
commit
b2e287520c
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ if __name__ == '__main__':
|
|||
pass
|
||||
|
||||
# Show usage
|
||||
if re.search(r'-*(h|help|\?)', str(sys.argv), re.IGNORECASE):
|
||||
if re.search(r'-+(h|help)', str(sys.argv), re.IGNORECASE):
|
||||
show_usage(script_name)
|
||||
exit_script()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue