[asterisk-commits] tilghman: trunk r47054 - in /trunk: ./ channels/
main/ res/
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Nov 2 16:56:00 MST 2006
Author: tilghman
Date: Thu Nov 2 17:55:59 2006
New Revision: 47054
URL: http://svn.digium.com/view/asterisk?rev=47054&view=rev
Log:
Merged revisions 47053 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47053 | tilghman | 2006-11-02 17:49:13 -0600 (Thu, 02 Nov 2006) | 2 lines
More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236)
........
Modified:
trunk/ (props changed)
trunk/channels/chan_h323.c
trunk/channels/chan_skinny.c
trunk/main/rtp.c
trunk/main/udptl.c
trunk/res/res_agi.c
trunk/res/res_jabber.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_h323.c?rev=47054&r1=47053&r2=47054&view=diff
==============================================================================
--- trunk/channels/chan_h323.c (original)
+++ trunk/channels/chan_h323.c Thu Nov 2 17:55:59 2006
@@ -2757,7 +2757,7 @@
h323_do_trace, "Enable H.323 Stack Tracing",
trace_usage, NULL, &cli_h323_trace_deprecated },
- { { "h323", "no", "trace", NULL },
+ { { "h323", "trace", "off", NULL },
h323_no_trace, "Disable H.323 Stack Tracing",
no_trace_usage, NULL, &cli_h323_no_trace_deprecated },
@@ -2765,11 +2765,11 @@
h323_do_debug, "Enable H.323 debug",
debug_usage, NULL, &cli_h323_debug_deprecated },
- { { "h323", "no", "debug", NULL },
+ { { "h323", "debug", "off", NULL },
h323_no_debug, "Disable H.323 debug",
no_debug_usage, NULL, &cli_h323_no_debug_deprecated },
- { { "h323", "gk", "cycle", NULL },
+ { { "h323", "cycle", "gk", NULL },
h323_gk_cycle, "Manually re-register with the Gatekeper",
show_cycle_usage, NULL, &cli_h323_gk_cycle_deprecated },
Modified: trunk/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_skinny.c?rev=47054&r1=47053&r2=47054&view=diff
==============================================================================
--- trunk/channels/chan_skinny.c (original)
+++ trunk/channels/chan_skinny.c Thu Nov 2 17:55:59 2006
@@ -1981,7 +1981,7 @@
skinny_do_debug, "Enable Skinny debugging",
debug_usage },
- { { "skinny", "no", "debug", NULL },
+ { { "skinny", "debug", "off", NULL },
skinny_no_debug, "Disable Skinny debugging",
no_debug_usage },
Modified: trunk/main/rtp.c
URL: http://svn.digium.com/view/asterisk/trunk/main/rtp.c?rev=47054&r1=47053&r2=47054&view=diff
==============================================================================
--- trunk/main/rtp.c (original)
+++ trunk/main/rtp.c Thu Nov 2 17:55:59 2006
@@ -3293,7 +3293,7 @@
static int rtp_no_debug(int fd, int argc, char *argv[])
{
- if (argc != 2)
+ if (argc != 3)
return RESULT_SHOWUSAGE;
rtpdebug = 0;
ast_cli(fd,"RTP Debugging Disabled\n");
@@ -3302,7 +3302,7 @@
static int rtcp_no_debug(int fd, int argc, char *argv[])
{
- if (argc != 2)
+ if (argc != 3)
return RESULT_SHOWUSAGE;
rtcpdebug = 0;
ast_cli(fd,"RTCP Debugging Disabled\n");
@@ -3311,7 +3311,7 @@
static int rtcp_no_stats(int fd, int argc, char *argv[])
{
- if (argc != 2)
+ if (argc != 3)
return RESULT_SHOWUSAGE;
rtcpstats = 0;
ast_cli(fd,"RTCP Stats Disabled\n");
@@ -3330,10 +3330,10 @@
static int stun_no_debug(int fd, int argc, char *argv[])
{
- if (argc != 2)
+ if (argc != 3)
return RESULT_SHOWUSAGE;
stundebug = 0;
- ast_cli(fd,"STUN Debugging Disabled\n");
+ ast_cli(fd, "STUN Debugging Disabled\n");
return RESULT_SUCCESS;
}
@@ -3342,7 +3342,7 @@
" Enable dumping of all RTP packets to and from host.\n";
static char no_debug_usage[] =
- "Usage: rtp nodebug\n"
+ "Usage: rtp debug off\n"
" Disable all RTP debugging\n";
static char stun_debug_usage[] =
@@ -3350,7 +3350,7 @@
" Enable STUN (Simple Traversal of UDP through NATs) debugging\n";
static char stun_no_debug_usage[] =
- "Usage: stun nodebug\n"
+ "Usage: stun debug off\n"
" Disable STUN debugging\n";
static char rtcp_debug_usage[] =
@@ -3358,7 +3358,7 @@
" Enable dumping of all RTCP packets to and from host.\n";
static char rtcp_no_debug_usage[] =
- "Usage: rtcp nodebug\n"
+ "Usage: rtcp debug off\n"
" Disable all RTCP debugging\n";
static char rtcp_stats_usage[] =
@@ -3366,7 +3366,7 @@
" Enable dumping of RTCP stats.\n";
static char rtcp_no_stats_usage[] =
- "Usage: rtcp nostats\n"
+ "Usage: rtcp stats off\n"
" Disable all RTCP stats\n";
static struct ast_cli_entry cli_rtp[] = {
@@ -3378,7 +3378,7 @@
rtp_do_debug, "Enable RTP debugging",
debug_usage },
- { { "rtp", "nodebug", NULL },
+ { { "rtp", "debug", "off", NULL },
rtp_no_debug, "Disable RTP debugging",
no_debug_usage },
@@ -3390,7 +3390,7 @@
rtcp_do_debug, "Enable RTCP debugging",
rtcp_debug_usage },
- { { "rtcp", "nodebug", NULL },
+ { { "rtcp", "debug", "off", NULL },
rtcp_no_debug, "Disable RTCP debugging",
rtcp_no_debug_usage },
@@ -3398,7 +3398,7 @@
rtcp_do_stats, "Enable RTCP stats",
rtcp_stats_usage },
- { { "rtcp", "nostats", NULL },
+ { { "rtcp", "stats", "off", NULL },
rtcp_no_stats, "Disable RTCP stats",
rtcp_no_stats_usage },
@@ -3406,7 +3406,7 @@
stun_do_debug, "Enable STUN debugging",
stun_debug_usage },
- { { "stun", "nodebug", NULL },
+ { { "stun", "debug", "off", NULL },
stun_no_debug, "Disable STUN debugging",
stun_no_debug_usage },
};
Modified: trunk/main/udptl.c
URL: http://svn.digium.com/view/asterisk/trunk/main/udptl.c?rev=47054&r1=47053&r2=47054&view=diff
==============================================================================
--- trunk/main/udptl.c (original)
+++ trunk/main/udptl.c Thu Nov 2 17:55:59 2006
@@ -1146,7 +1146,7 @@
static int udptl_nodebug(int fd, int argc, char *argv[])
{
- if (argc != 2)
+ if (argc != 3)
return RESULT_SHOWUSAGE;
udptldebug = 0;
ast_cli(fd,"UDPTL Debugging Disabled\n");
@@ -1158,7 +1158,7 @@
" Enable dumping of all UDPTL packets to and from host.\n";
static char nodebug_usage[] =
- "Usage: udptl nodebug\n"
+ "Usage: udptl debug off\n"
" Disable all UDPTL debugging\n";
static struct ast_cli_entry cli_udptl[] = {
@@ -1170,9 +1170,9 @@
udptl_do_debug, "Enable UDPTL debugging on IP",
debug_usage },
- { { "udptl", "nodebug", NULL },
+ { { "udptl", "debug", "off", NULL },
udptl_nodebug, "Disable UDPTL debugging",
- nodebug_usage, NULL, NULL },
+ nodebug_usage },
};
void ast_udptl_reload(void)
Modified: trunk/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_agi.c?rev=47054&r1=47053&r2=47054&view=diff
==============================================================================
--- trunk/res/res_agi.c (original)
+++ trunk/res/res_agi.c Thu Nov 2 17:55:59 2006
@@ -2100,7 +2100,7 @@
agi_do_debug, "Enable AGI debugging",
debug_usage },
- { { "agi", "nodebug", NULL },
+ { { "agi", "debug", "off", NULL },
agi_no_debug, "Disable AGI debugging",
no_debug_usage },
Modified: trunk/res/res_jabber.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_jabber.c?rev=47054&r1=47053&r2=47054&view=diff
==============================================================================
--- trunk/res/res_jabber.c (original)
+++ trunk/res/res_jabber.c Thu Nov 2 17:55:59 2006
@@ -103,7 +103,7 @@
" Enables dumping of Jabber packets for debugging purposes.\n";
static char no_debug_usage[] =
-"Usage: jabber no debug\n"
+"Usage: jabber debug off\n"
" Disables dumping of Jabber packets for debugging purposes.\n";
static char reload_usage[] =
@@ -128,7 +128,7 @@
aji_show_clients, "Show state of clients and components",
debug_usage },
- { { "jabber", "no", "debug", NULL},
+ { { "jabber", "debug", "off", NULL},
aji_no_debug, "Disable Jabber debug",
no_debug_usage },
More information about the asterisk-commits
mailing list