aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-19 13:49:50 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-19 13:49:50 +0000
commit90357eee877346929e402701d93d0ea1db3a1069 (patch)
treea284f6535f558c50048b62778619d20f48d2df0c /res
parentbdcf4c3f22a84cb532f53774867173859e25c6a3 (diff)
MOH usage information needs a terminating newline, or else
"asterisk -rx 'help moh reload'" will hang. Reported via -dev list, fixed by me. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@114297 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_musiconhold.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index 491eacb8b..31cc39130 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -1249,15 +1249,15 @@ static struct ast_cli_entry cli_moh_files_show_deprecated = {
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)