Revision 264a13f7 kamaki/cli/one_command.py

b/kamaki/cli/one_command.py
93 93
    update_parser_help(parser, cmd)
94 94

  
95 95
    if _help or not cmd.is_command:
96
        #parser.parser.print_help()
97 96
        if cmd.cmd_class:
98 97
            parser.required = getattr(cmd.cmd_class, 'required', None)
99 98
        parser.print_help()
......
109 108
    parser.required = getattr(cls, 'required', None)
110 109
    parser.update_arguments(executable.arguments)
111 110
    for term in _best_match:
112
            parser.unparsed.remove(term)
113
    #exec_cmd(executable, parser.unparsed, parser.parser.print_help)
111
        parser.unparsed.remove(term)
114 112
    exec_cmd(executable, parser.unparsed, parser.print_help)

Also available in: Unified diff