mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-21 09:10:36 +00:00
Merge "res_indications: Fix indications remove command autocomplete" into 13
This commit is contained in:
@@ -780,9 +780,11 @@ static char *handle_cli_indication_remove(struct ast_cli_entry *e, int cmd, stru
|
|||||||
case CLI_GENERATE:
|
case CLI_GENERATE:
|
||||||
if (a->pos == 2) {
|
if (a->pos == 2) {
|
||||||
return complete_country(a);
|
return complete_country(a);
|
||||||
} else if (a->pos == 3) {
|
}
|
||||||
|
if (a->pos == 3) {
|
||||||
return complete_indications(a);
|
return complete_indications(a);
|
||||||
}
|
}
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (a->argc != 3 && a->argc != 4) {
|
if (a->argc != 3 && a->argc != 4) {
|
||||||
|
|||||||
Reference in New Issue
Block a user