aboutsummaryrefslogtreecommitdiffstats
path: root/main/channel.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-02 23:00:20 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-02 23:00:20 +0000
commitc771976500a03e9be6ca67f3c3ccc31f6c32f232 (patch)
tree52931b68b54d2adc957438ad058cf1971c3b02c4 /main/channel.c
parent2191f5490fdb07dc7cbf6772dbf9e946e081e4c4 (diff)
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47051 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/channel.c')
-rw-r--r--main/channel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/channel.c b/main/channel.c
index 4c6b630e4..992a6a539 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -289,11 +289,11 @@ 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_show_channeltypes_deprecated = {
@@ -307,11 +307,11 @@ static struct ast_cli_entry cli_show_channeltype_deprecated = {
NULL, complete_channeltypes };
static struct ast_cli_entry cli_channel[] = {
- { { "channeltype", "list", NULL },
+ { { "core", "show", "channeltypes", NULL },
show_channeltypes, "List available channel types",
show_channeltypes_usage, NULL, &cli_show_channeltypes_deprecated },
- { { "channeltype", "show", NULL },
+ { { "core", "show", "channeltype", NULL },
show_channeltype, "Give more details on that channel type",
show_channeltype_usage, complete_channeltypes, &cli_show_channeltype_deprecated },
};