Commit ff2061c0 authored by Steve Goering's avatar Steve Goering

fix alias function bug

parent bca865d2
......@@ -164,7 +164,8 @@ def main(args):
parameter = parseresults[1]
if argsdict['<command>'] not in subparsers:
argsdict['<command>'] = translate_alias_to_command(config, argsdict['<command>'])
argsdict['<command>'] = translate_alias_to_command(
config, argsdict['<command>'])
if len(argsdict) == 2 and argsdict['<subcommand>'] is None:
subparsers[command].print_help()
......
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