[asterisk-commits] mvanbaak: branch group/cli_cleanup r144757 - in /team/group/cli_cleanup: apps...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 26 16:21:51 CDT 2008


Author: mvanbaak
Date: Fri Sep 26 16:21:51 2008
New Revision: 144757

URL: http://svn.digium.com/view/asterisk?view=rev&rev=144757
Log:
add some missing help/usage information to a couple of CLI commands

Modified:
    team/group/cli_cleanup/apps/app_queue.c
    team/group/cli_cleanup/channels/chan_dahdi.c

Modified: team/group/cli_cleanup/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/team/group/cli_cleanup/apps/app_queue.c?view=diff&rev=144757&r1=144756&r2=144757
==============================================================================
--- team/group/cli_cleanup/apps/app_queue.c (original)
+++ team/group/cli_cleanup/apps/app_queue.c Fri Sep 26 16:21:51 2008
@@ -5953,7 +5953,8 @@
 	case CLI_INIT:
 		e->command = "queue add member";
 		e->usage =
-			"Usage: queue add member <channel> to <queue> [[[penalty <penalty>] as <membername>] state_interface <interface>]\n"; 
+			"Usage: queue add member <channel> to <queue> [[[penalty <penalty>] as <membername>] state_interface <interface>]\n"
+			"       Add a channel to a queue with optionally:  a penalty, membername and a state_interface\n";
 		return NULL;
 	case CLI_GENERATE:
 		return complete_queue_add_member(a->line, a->word, a->pos, a->n);
@@ -6065,7 +6066,9 @@
 	switch (cmd) {
 	case CLI_INIT:
 		e->command = "queue remove member";
-		e->usage = "Usage: queue remove member <channel> from <queue>\n"; 
+		e->usage = 
+			"Usage: queue remove member <channel> from <queue>\n"
+			"       Remove a specific channel from a queue.\n";
 		return NULL;
 	case CLI_GENERATE:
 		return complete_queue_remove_member(a->line, a->word, a->pos, a->n);

Modified: team/group/cli_cleanup/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/team/group/cli_cleanup/channels/chan_dahdi.c?view=diff&rev=144757&r1=144756&r2=144757
==============================================================================
--- team/group/cli_cleanup/channels/chan_dahdi.c (original)
+++ team/group/cli_cleanup/channels/chan_dahdi.c Fri Sep 26 16:21:51 2008
@@ -11884,6 +11884,7 @@
 	switch (cmd) {
 	case CLI_INIT:	
 		e->command = "pri show debug";
+		e->usage = "Show the debug state of pri spans\n";
 		return NULL;
 	case CLI_GENERATE:
 		return NULL;	
@@ -11917,6 +11918,7 @@
 	switch (cmd) {
 	case CLI_INIT:
 		e->command = "pri show version";
+		e->usage = "Show libpri version information\n";
 		return NULL;
 	case CLI_GENERATE:
 		return NULL;
@@ -13451,6 +13453,7 @@
 	switch (cmd) {
 	case CLI_INIT:
 		e->command = "ss7 show version";
+		e->usage = "Show the libss7 version\n";
 		return NULL;
 	case CLI_GENERATE:
 		return NULL;




More information about the asterisk-commits mailing list