[asterisk-commits] seanbright: trunk r252848 - /trunk/res/res_clialiases.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 16 14:36:28 CDT 2010


Author: seanbright
Date: Tue Mar 16 14:36:24 2010
New Revision: 252848

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=252848
Log:
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

Modified:
    trunk/res/res_clialiases.c

Modified: trunk/res/res_clialiases.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_clialiases.c?view=diff&rev=252848&r1=252847&r2=252848
==============================================================================
--- trunk/res/res_clialiases.c (original)
+++ trunk/res/res_clialiases.c Tue Mar 16 14:36:24 2010
@@ -204,7 +204,7 @@
 			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);




More information about the asterisk-commits mailing list