mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 19:28:53 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@252848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
Block a user