diff --git a/main/cli.c b/main/cli.c index 57f936b09dafa4047affaf570f4f156575140a9b..d04124429837fa1bad2b3e85a5ef70a56e538e12 100644 --- a/main/cli.c +++ b/main/cli.c @@ -415,7 +415,7 @@ static char *handle_verbose(struct ast_cli_entry *e, int cmd, struct ast_cli_arg * we are guaranteed to be called with argc >= e->args; */ - if (argc < e->args) + if (argc <= e->args) return CLI_SHOWUSAGE; if (!strcasecmp(argv[e->args - 1], "debug")) { dst = &option_debug;