Merged revisions 47051 via svnmerge from
[asterisk/asterisk.git] / main / channel.c
index 65572d3..17d3683 100644 (file)
@@ -289,19 +289,19 @@ static char *complete_channeltypes(const char *line, const char *word, int pos,
 }
 
 static char show_channeltypes_usage[] =
-"Usage: channeltype list\n"
+"Usage: core show channeltypes\n"
 "       Lists available channel types registered in your Asterisk server.\n";
 
 static char show_channeltype_usage[] =
-"Usage: channeltype show <name>\n"
+"Usage: core show channeltype <name>\n"
 "      Show details about the specified channel type, <name>.\n";
 
 static struct ast_cli_entry cli_channel[] = {
-       { { "channeltype", "list", NULL },
+       { { "core", "show", "channeltypes", NULL },
        show_channeltypes, "List available channel types",
        show_channeltypes_usage },
 
-       { { "channeltype", "show", NULL },
+       { { "core", "show", "channeltype", NULL },
        show_channeltype, "Give more details on that channel type",
        show_channeltype_usage, complete_channeltypes },
 };