mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Fix filename completion for "module load" and "load" CLI commands.
Issue 8846 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -120,7 +120,7 @@ static char *handle_load(struct ast_cli_entry *e, int cmd, struct ast_cli_args *
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
case CLI_GENERATE:
|
case CLI_GENERATE:
|
||||||
if (a->argc != e->args + 1)
|
if (a->pos != e->args)
|
||||||
return NULL;
|
return NULL;
|
||||||
return complete_fn(a->word, a->n);
|
return complete_fn(a->word, a->n);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user