mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-27 16:07:15 -07:00
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@114297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user