[svn-commits] tilghman: branch 1.8 r345682 - /branches/1.8/main/db.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Nov 19 09:08:08 CST 2011


Author: tilghman
Date: Sat Nov 19 09:08:03 2011
New Revision: 345682

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=345682
Log:
Update the documentation to better clarify how the existing commands work.

Review: https://reviewboard.asterisk.org/r/1593/

Modified:
    branches/1.8/main/db.c

Modified: branches/1.8/main/db.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/db.c?view=diff&rev=345682&r1=345681&r2=345682
==============================================================================
--- branches/1.8/main/db.c (original)
+++ branches/1.8/main/db.c Sat Nov 19 09:08:03 2011
@@ -430,8 +430,10 @@
 		e->command = "database deltree";
 		e->usage =
 			"Usage: database deltree <family> [keytree]\n"
+			"   OR: database deltree <family>[/keytree]\n"
 			"       Deletes a family or specific keytree within a family\n"
-			"       in the Asterisk database.\n";
+			"       in the Asterisk database.  The two arguments may be\n"
+			"       separated by either a space or a slash.\n";
 		return NULL;
 	case CLI_GENERATE:
 		return NULL;
@@ -476,8 +478,10 @@
 		e->command = "database show";
 		e->usage =
 			"Usage: database show [family [keytree]]\n"
+			"   OR: database show [family[/keytree]]\n"
 			"       Shows Asterisk database contents, optionally restricted\n"
-			"       to a given family, or family and keytree.\n";
+			"       to a given family, or family and keytree. The two arguments\n"
+			"       may be separated either by a space or by a slash.\n";
 		return NULL;
 	case CLI_GENERATE:
 		return NULL;




More information about the svn-commits mailing list