diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-11-10 17:01:06 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-11-10 17:01:06 +0000 |
commit | 691363656fbdc83edf04b125317aebae6525c9e7 (patch) | |
tree | f383932b2ec9f93ee875d3ca5e4bfca778865778 /channels/chan_skinny.c | |
parent | 0d367b09a5386b8a1626b4d5a0c77f16395b8c18 (diff) |
Merged revisions 47436 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47436 | tilghman | 2006-11-10 10:51:55 -0600 (Fri, 10 Nov 2006) | 2 lines
Discussion of these CLI changes resulted in more consistency (Bug 8236)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_skinny.c')
-rw-r--r-- | channels/chan_skinny.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index b5225c085..951d9b8a3 100644 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -1759,7 +1759,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 != 3) { + if (argc != 4) { return RESULT_SHOWUSAGE; } skinnydebug = 0; @@ -1956,11 +1956,11 @@ static char show_lines_usage[] = " Lists all lines known to the Skinny subsystem.\n"; static char debug_usage[] = -"Usage: skinny debug\n" +"Usage: skinny set debug\n" " Enables dumping of Skinny packets for debugging purposes\n"; static char no_debug_usage[] = -"Usage: skinny no debug\n" +"Usage: skinny set debug off\n" " Disables dumping of Skinny packets for debugging purposes\n"; static char reset_usage[] = @@ -1976,11 +1976,11 @@ static struct ast_cli_entry cli_skinny[] = { skinny_show_lines, "List defined Skinny lines per device", show_lines_usage }, - { { "skinny", "debug", NULL }, + { { "skinny", "set", "debug", NULL }, skinny_do_debug, "Enable Skinny debugging", debug_usage }, - { { "skinny", "debug", "off", NULL }, + { { "skinny", "set", "debug", "off", NULL }, skinny_no_debug, "Disable Skinny debugging", no_debug_usage }, |