diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-11-02 23:16:09 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-11-02 23:16:09 +0000 |
commit | 10875731ecfbe329b31be706d30a81dd579c3b56 (patch) | |
tree | 273ac9aad8e573d5fda7e056e0894f20a2d4c7bf /main/channel.c | |
parent | 7f7f2fe821f71b302d233081ee0f72e82c9701c2 (diff) |
Merged revisions 47051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47051 | tilghman | 2006-11-02 17:00:20 -0600 (Thu, 02 Nov 2006) | 2 lines
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/channel.c b/main/channel.c index 65572d3e8..17d368372 100644 --- a/main/channel.c +++ b/main/channel.c @@ -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 }, }; |