]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Update the documentation to better clarify how the existing commands work.
authorTilghman Lesher <tilghman@meg.abyt.es>
Sat, 19 Nov 2011 15:08:03 +0000 (15:08 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Sat, 19 Nov 2011 15:08:03 +0000 (15:08 +0000)
Review: https://reviewboard.asterisk.org/r/1593/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@345682 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/db.c

index a0efc8c05616850592d2dae324763b319573289b..ab2ac30d4fa953becd12a5a3947acc75fa5a495d 100644 (file)
--- a/main/db.c
+++ b/main/db.c
@@ -430,8 +430,10 @@ static char *handle_cli_database_deltree(struct ast_cli_entry *e, int cmd, struc
                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 @@ static char *handle_cli_database_show(struct ast_cli_entry *e, int cmd, struct a
                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;