Esempio n. 1
0
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)
Esempio n. 2
0
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)