Update the documentation to better clarify how the existing commands work.

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
This commit is contained in:
Tilghman Lesher
2011-11-19 15:08:03 +00:00
parent 1dedc40b51
commit cfbd53182f

View File

@@ -430,8 +430,10 @@ static char *handle_cli_database_deltree(struct ast_cli_entry *e, int cmd, struc
e->command = "database deltree"; e->command = "database deltree";
e->usage = e->usage =
"Usage: database deltree <family> [keytree]\n" "Usage: database deltree <family> [keytree]\n"
" OR: database deltree <family>[/keytree]\n"
" Deletes a family or specific keytree within a family\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; return NULL;
case CLI_GENERATE: case CLI_GENERATE:
return NULL; 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->command = "database show";
e->usage = e->usage =
"Usage: database show [family [keytree]]\n" "Usage: database show [family [keytree]]\n"
" OR: database show [family[/keytree]]\n"
" Shows Asterisk database contents, optionally restricted\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; return NULL;
case CLI_GENERATE: case CLI_GENERATE:
return NULL; return NULL;