[Asterisk-cvs] asterisk/channels chan_local.c,1.24,1.25

jeremy at lists.digium.com jeremy at lists.digium.com
Sat Mar 20 08:31:19 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv12003

Modified Files:
	chan_local.c 
Log Message:
Change 'show locals' into 'local show channels' to follow other channel methods. Bug #1255


Index: chan_local.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_local.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- chan_local.c	18 Mar 2004 20:33:55 -0000	1.24
+++ chan_local.c	20 Mar 2004 13:26:52 -0000	1.25
@@ -458,7 +458,7 @@
 {
 	struct local_pvt *p;
 
-	if (argc != 2)
+	if (argc != 3)
 		return RESULT_SHOWUSAGE;
 	ast_mutex_lock(&locallock);
 	p = locals;
@@ -475,11 +475,11 @@
 }
 
 static char show_locals_usage[] = 
-"Usage: show locals\n"
-"       Provides summary information on locals.\n";
+"Usage: local show channels\n"
+"       Provides summary information on local channels.\n";
 
 static struct ast_cli_entry cli_show_locals = {
-	{ "show", "locals", NULL }, locals_show, 
+	{ "local", "show", "channels", NULL }, locals_show, 
 	"Show status of local channels", show_locals_usage, NULL };
 
 int load_module()




More information about the svn-commits mailing list