summaryrefslogtreecommitdiff
path: root/channels/chan_skinny.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-11-02 23:16:09 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-11-02 23:16:09 +0000
commit10875731ecfbe329b31be706d30a81dd579c3b56 (patch)
tree273ac9aad8e573d5fda7e056e0894f20a2d4c7bf /channels/chan_skinny.c
parent7f7f2fe821f71b302d233081ee0f72e82c9701c2 (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 'channels/chan_skinny.c')
-rw-r--r--channels/chan_skinny.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c
index fdd8389ef..55fcb5c7a 100644
--- a/channels/chan_skinny.c
+++ b/channels/chan_skinny.c
@@ -1750,7 +1750,7 @@ static struct ast_rtp_protocol skinny_rtp = {
static int skinny_do_debug(int fd, int argc, char *argv[])
{
- if (argc != 2) {
+ if (argc != 3) {
return RESULT_SHOWUSAGE;
}
skinnydebug = 1;
@@ -1760,7 +1760,7 @@ static int skinny_do_debug(int fd, int argc, char *argv[])
static int skinny_no_debug(int fd, int argc, char *argv[])
{
- if (argc != 2) {
+ if (argc != 3) {
return RESULT_SHOWUSAGE;
}
skinnydebug = 0;
@@ -1949,11 +1949,11 @@ static int skinny_show_lines(int fd, int argc, char *argv[])
}
static char show_devices_usage[] =
-"Usage: skinny list devices\n"
+"Usage: skinny show devices\n"
" Lists all devices known to the Skinny subsystem.\n";
static char show_lines_usage[] =
-"Usage: skinny list lines\n"
+"Usage: skinny show lines\n"
" Lists all lines known to the Skinny subsystem.\n";
static char debug_usage[] =
@@ -1961,7 +1961,7 @@ static char debug_usage[] =
" Enables dumping of Skinny packets for debugging purposes\n";
static char no_debug_usage[] =
-"Usage: skinny nodebug\n"
+"Usage: skinny no debug\n"
" Disables dumping of Skinny packets for debugging purposes\n";
static char reset_usage[] =
@@ -1969,11 +1969,11 @@ static char reset_usage[] =
" Causes a Skinny device to reset itself, optionally with a full restart\n";
static struct ast_cli_entry cli_skinny[] = {
- { { "skinny", "list", "devices", NULL },
+ { { "skinny", "show", "devices", NULL },
skinny_show_devices, "List defined Skinny devices",
show_devices_usage },
- { { "skinny", "list", "lines", NULL },
+ { { "skinny", "show", "lines", NULL },
skinny_show_lines, "List defined Skinny lines per device",
show_lines_usage },
@@ -1981,7 +1981,7 @@ static struct ast_cli_entry cli_skinny[] = {
skinny_do_debug, "Enable Skinny debugging",
debug_usage },
- { { "skinny", "nodebug", NULL },
+ { { "skinny", "no", "debug", NULL },
skinny_no_debug, "Disable Skinny debugging",
no_debug_usage },