def err_mini_usage(cli, basecmd): if basecmd not in cli.cli_commands: cli.print_usage() return cmd = cli.cli_commands[basecmd] txt = cli.cli_commands["help"]._makeOutput(cmd) logger.critical(_(" Mini usage:\n")) logger.critical(txt)
def err_mini_usage(cli, basecmd): if basecmd not in cli.cli_commands: cli.print_usage() return cmd = cli.cli_commands[basecmd] txt = cli.cli_commands["help"]._makeOutput(cmd) logger.critical(_(' Mini usage:\n')) logger.critical(txt)