]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 252848 via svnmerge from
authorSean Bright <sean@malleable.com>
Tue, 16 Mar 2010 19:38:39 +0000 (19:38 +0000)
committerSean Bright <sean@malleable.com>
Tue, 16 Mar 2010 19:38:39 +0000 (19:38 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r252848 | seanbright | 2010-03-16 15:36:24 -0400 (Tue, 16 Mar 2010) | 10 lines

  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/branches/1.6.2@252850 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_clialiases.c

index 853735ba3112d5cfe4fe2ae45b218494afe172a5..4390902f911b23b96ba32c40d05a26718a48b2fc 100644 (file)
@@ -210,7 +210,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);