From c771976500a03e9be6ca67f3c3ccc31f6c32f232 Mon Sep 17 00:00:00 2001 From: tilghman Date: Thu, 2 Nov 2006 23:00:20 +0000 Subject: 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 --- main/frame.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'main/frame.c') diff --git a/main/frame.c b/main/frame.c index 9bb40cd17..46726c1db 100644 --- a/main/frame.c +++ b/main/frame.c @@ -685,7 +685,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_deprecated(int fd, int argc, char *argv[]) @@ -991,19 +991,19 @@ static struct ast_cli_entry cli_show_frame_stats = { #endif 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, NULL, &cli_show_codecs }, - { { "core", "list", "codecs", "audio", NULL }, + { { "core", "show", "audio", "codecs", NULL }, show_codecs, "Displays a list of audio codecs", frame_show_codecs_usage, NULL, &cli_show_audio_codecs }, - { { "core", "list", "codecs", "video", NULL }, + { { "core", "show", "video", "codecs", NULL }, show_codecs, "Displays a list of video codecs", frame_show_codecs_usage, NULL, &cli_show_video_codecs }, - { { "core", "list", "codecs", "image", NULL }, + { { "core", "show", "image", "codecs", NULL }, show_codecs, "Displays a list of image codecs", frame_show_codecs_usage, NULL, &cli_show_image_codecs }, -- cgit v1.2.3