summaryrefslogtreecommitdiff
path: root/main/pbx_app.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/pbx_app.c')
-rw-r--r--main/pbx_app.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/pbx_app.c b/main/pbx_app.c
index 0c030d12d..e0609db70 100644
--- a/main/pbx_app.c
+++ b/main/pbx_app.c
@@ -313,7 +313,6 @@ static char *handle_show_applications(struct ast_cli_entry *e, int cmd, struct a
int like = 0, describing = 0;
int total_match = 0; /* Number of matches in like clause */
int total_apps = 0; /* Number of apps registered */
- static const char * const choices[] = { "like", "describing", NULL };
switch (cmd) {
case CLI_INIT:
@@ -325,7 +324,7 @@ static char *handle_show_applications(struct ast_cli_entry *e, int cmd, struct a
" If 'describing', <text> will be a substring of the description\n";
return NULL;
case CLI_GENERATE:
- return (a->pos != 3) ? NULL : ast_cli_complete(a->word, choices, a->n);
+ return NULL;
}
AST_RWLIST_RDLOCK(&apps);