diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-18 19:03:25 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-18 19:03:25 +0000 |
commit | 22f025f88516f64502b864d5bacf051e0b8fd229 (patch) | |
tree | f8bf57c411953d6a175382dd1a31cc0052eda0c9 /main/cli.c | |
parent | 6d94715209000b8f0ed15a3ff414cdc86ee0f387 (diff) |
Fix filename completion for "module load" and "load" CLI commands.
Issue 8846
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51249 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cli.c')
-rw-r--r-- | main/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/cli.c b/main/cli.c index 54dea496c..342e840a8 100644 --- a/main/cli.c +++ b/main/cli.c @@ -120,7 +120,7 @@ static char *handle_load(struct ast_cli_entry *e, int cmd, struct ast_cli_args * return NULL; case CLI_GENERATE: - if (a->argc != e->args + 1) + if (a->pos != e->args) return NULL; return complete_fn(a->word, a->n); } |