[Asterisk-cvs] asterisk config.c,1.58,1.59

twisted at lists.digium.com twisted at lists.digium.com
Wed Mar 16 18:39:38 CST 2005


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

Modified Files:
	config.c 
Log Message:
Fix help and command line completion for "show config mappings" (Bug #3766)


Index: config.c
===================================================================
RCS file: /usr/cvsroot/asterisk/config.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- config.c	11 Feb 2005 16:09:01 -0000	1.58
+++ config.c	17 Mar 2005 00:35:06 -0000	1.59
@@ -1036,8 +1036,12 @@
 	return 0;
 }
 
+static char show_config_help[] =
+	"Usage: show config mappings\n"
+	"	Shows the filenames to config engines.\n";
+
 static struct ast_cli_entry config_command_struct = {
-	{ "show", "config", "mappings" }, config_command, "Show Config mappings (file names to config engines)"
+	{ "show", "config", "mappings", NULL }, config_command, "Show Config mappings (file names to config engines)", show_config_help, NULL
 };
 
 int register_config_cli() 




More information about the svn-commits mailing list