Revision 8741c407 kamaki/cli/command_shell.py

b/kamaki/cli/command_shell.py
254 254
                    except IndexError:
255 255
                        break
256 256
                print('Syntax: %s %s' % (' '.join(clist[upto:]), cls.syntax))
257
            else:
257
            if cmd.subcommands:
258 258
                print_subcommands_help(cmd)
259 259

  
260 260
        self._register_method(help_method, 'help_%s' % cmd.name)

Also available in: Unified diff