mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-12-27 23:32:06 +00:00
Fixed --help error with no arguments
This commit is contained in:
parent
fb933cc9f5
commit
1520abd742
@ -469,7 +469,7 @@ def run():
|
||||
else:
|
||||
# show script help
|
||||
args = ["--help"]
|
||||
if reverse_aliases[args[0]] == "create":
|
||||
if reverse_aliases.get(args[0], None) == "create":
|
||||
create_parser.epilog = get_template_info()
|
||||
else:
|
||||
# Allow global options to come before or after disk image name
|
||||
|
Loading…
Reference in New Issue
Block a user