Include an extra newline after "Aliased CLI command" to get back the prompt.
authorSean Bright <sean@malleable.com>
Tue, 16 Mar 2010 19:36:24 +0000 (19:36 +0000)
committerSean Bright <sean@malleable.com>
Tue, 16 Mar 2010 19:36:24 +0000 (19:36 +0000)
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

index 14d064a..e2558f2 100644 (file)
@@ -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);