[svn-commits] tilghman: branch 1.4 r114297 - /branches/1.4/res/res_musiconhold.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Sat Apr 19 08:49:51 CDT 2008
Author: tilghman
Date: Sat Apr 19 08:49:50 2008
New Revision: 114297
URL: http://svn.digium.com/view/asterisk?view=rev&rev=114297
Log:
MOH usage information needs a terminating newline, or else
"asterisk -rx 'help moh reload'" will hang. Reported via
-dev list, fixed by me.
Modified:
branches/1.4/res/res_musiconhold.c
Modified: branches/1.4/res/res_musiconhold.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_musiconhold.c?view=diff&rev=114297&r1=114296&r2=114297
==============================================================================
--- branches/1.4/res/res_musiconhold.c (original)
+++ branches/1.4/res/res_musiconhold.c Sat Apr 19 08:49:50 2008
@@ -1249,15 +1249,15 @@
static struct ast_cli_entry cli_moh[] = {
{ { "moh", "reload"},
moh_cli, "Music On Hold",
- "Music On Hold" },
+ "Usage: moh reload\n Rereads configuration\n" },
{ { "moh", "show", "classes"},
moh_classes_show, "List MOH classes",
- "Lists all MOH classes", NULL, &cli_moh_classes_show_deprecated },
+ "Usage: moh show classes\n Lists all MOH classes\n", NULL, &cli_moh_classes_show_deprecated },
{ { "moh", "show", "files"},
cli_files_show, "List MOH file-based classes",
- "Lists all loaded file-based MOH classes and their files", NULL, &cli_moh_files_show_deprecated },
+ "Usage: moh show files\n Lists all loaded file-based MOH classes and their files\n", NULL, &cli_moh_files_show_deprecated },
};
static int init_classes(int reload)
More information about the svn-commits
mailing list