Rollback commit 195367.

The CLI command 'manager show command' supports passing multiple AMI actions
at a time. The issue with this command was in another place.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@195368 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Eliel C. Sardanons
2009-05-18 20:44:54 +00:00
parent 311c997896
commit 9e5da09a6b

View File

@@ -612,8 +612,6 @@ static char *handle_showmancmd(struct ast_cli_entry *e, int cmd, struct ast_cli_
" Shows the detailed description for a specific Asterisk manager interface command.\n";
return NULL;
case CLI_GENERATE:
if (a->pos == 3) {
/* autocomplete the action name. */
l = strlen(a->word);
which = 0;
AST_RWLIST_RDLOCK(&actions);
@@ -626,9 +624,6 @@ static char *handle_showmancmd(struct ast_cli_entry *e, int cmd, struct ast_cli_
AST_RWLIST_UNLOCK(&actions);
return ret;
}
return NULL;
}
authority = ast_str_alloca(80);
if (a->argc != 4) {
return CLI_SHOWUSAGE;