return ast_module_helper(line, word, pos, state, 1, 1);
}
+static char *complete_mod_2_nr(const char *line, const char *word, int pos, int state)
+{
+ return ast_module_helper(line, word, pos, state, 1, 0);
+}
+
static char *complete_mod_3_nr(const char *line, const char *word, int pos, int state)
{
return ast_module_helper(line, word, pos, state, 2, 0);
static struct ast_cli_entry cli_module_unload_deprecated = {
{ "unload", NULL },
handle_unload_deprecated, NULL,
- NULL, complete_mod_2 };
+ NULL, complete_mod_2_nr };
static struct ast_cli_entry cli_show_uptime_deprecated = {
{ "show", "uptime", NULL },