mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 23:38:23 +00:00
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
This commit is contained in:
10
main/frame.c
10
main/frame.c
@@ -641,7 +641,7 @@ static int show_codecs(int fd, int argc, char *argv[])
|
||||
}
|
||||
|
||||
static char frame_show_codecs_usage[] =
|
||||
"Usage: core list codecs [audio|video|image]\n"
|
||||
"Usage: core show codecs [audio|video|image]\n"
|
||||
" Displays codec mapping\n";
|
||||
|
||||
static int show_codec_n(int fd, int argc, char *argv[])
|
||||
@@ -876,19 +876,19 @@ static char frame_stats_usage[] =
|
||||
|
||||
/* Builtin Asterisk CLI-commands for debugging */
|
||||
static struct ast_cli_entry my_clis[] = {
|
||||
{ { "core", "list", "codecs", NULL },
|
||||
{ { "core", "show", "codecs", NULL },
|
||||
show_codecs, "Displays a list of codecs",
|
||||
frame_show_codecs_usage },
|
||||
|
||||
{ { "core", "list", "codecs", "audio", NULL },
|
||||
{ { "core", "show", "audio", "codecs", NULL },
|
||||
show_codecs, "Displays a list of audio codecs",
|
||||
frame_show_codecs_usage },
|
||||
|
||||
{ { "core", "list", "codecs", "video", NULL },
|
||||
{ { "core", "show", "video", "codecs", NULL },
|
||||
show_codecs, "Displays a list of video codecs",
|
||||
frame_show_codecs_usage },
|
||||
|
||||
{ { "core", "list", "codecs", "image", NULL },
|
||||
{ { "core", "show", "image", "codecs", NULL },
|
||||
show_codecs, "Displays a list of image codecs",
|
||||
frame_show_codecs_usage },
|
||||
|
||||
|
||||
Reference in New Issue
Block a user