Include an extra newline after "Aliased CLI command" to get back the prompt.
The other issue mentioned in this bug will be more difficult to resolve since we have no idea (right now) of knowing if the command that is aliased has been installed yet. (issue #16978) Reported by: jw-asterisk Tested by: seanbright git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252848 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
e4085f9c75
commit
9891580f11
|
@ -204,7 +204,7 @@ static void load_config(int reload)
|
|||
strcpy(alias->real_cmd, v1->value);
|
||||
alias->cli_entry.handler = cli_alias_passthrough;
|
||||
alias->cli_entry.command = alias->alias;
|
||||
alias->cli_entry.usage = "Aliased CLI Command";
|
||||
alias->cli_entry.usage = "Aliased CLI Command\n";
|
||||
|
||||
ast_cli_register(&alias->cli_entry);
|
||||
ao2_link(cli_aliases, alias);
|
||||
|
|
Reference in New Issue