From 5f3730df4c6f3ddfe5cf04473cb04adfdcd33124 Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Tue, 16 Mar 2010 19:36:24 +0000 Subject: [PATCH] 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 --- res/res_clialiases.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/res_clialiases.c b/res/res_clialiases.c index 14d064a1af..e2558f2748 100644 --- a/res/res_clialiases.c +++ b/res/res_clialiases.c @@ -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);