diff options
Diffstat (limited to 'apps/app_rpt.c')
-rw-r--r-- | apps/app_rpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_rpt.c b/apps/app_rpt.c index 6eb0bfca8..f703aaec0 100644 --- a/apps/app_rpt.c +++ b/apps/app_rpt.c @@ -1090,7 +1090,7 @@ static char *handle_cli_rpt_debug_level(struct ast_cli_entry *e, int cmd, struct case CLI_GENERATE: return NULL; } - if (a->argc != 4) + if (a->argc != e->args) return CLI_SHOWUSAGE; newlevel = myatoi(a->argv[3]); if ((newlevel < 0) || (newlevel > 7)) |