Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2006-11-02 23:00:20 +00:00
parent ea69dd0cbc
commit e05a2752e8
26 changed files with 220 additions and 500 deletions

View File

@@ -95,7 +95,7 @@ static char *descrip =
"variable to \"no\" before executing the AGI application.\n"
" Using 'EAGI' provides enhanced AGI, with incoming audio available out of band\n"
"on file descriptor 3\n\n"
" Use the CLI command 'show agi' to list available agi commands\n"
" Use the CLI command 'agi show' to list available agi commands\n"
" This application sets the following channel variable upon completion:\n"
" AGISTATUS The status of the attempt to the run the AGI script\n"
" text string, one of SUCCESS | FAILED | HANGUP\n";
@@ -2084,7 +2084,7 @@ static int deadagi_exec(struct ast_channel *chan, void *data)
}
static char showagi_help[] =
"Usage: agi list [topic]\n"
"Usage: agi show [topic]\n"
" When called with a topic as an argument, displays usage\n"
" information on the given command. If called without a\n"
" topic, it provides a list of AGI commands.\n";
@@ -2118,7 +2118,7 @@ static struct ast_cli_entry cli_agi[] = {
agi_no_debug, "Disable AGI debugging",
no_debug_usage, NULL, &cli_agi_no_debug_deprecated },
{ { "agi", "list", NULL },
{ { "agi", "show", NULL },
handle_showagi, "List AGI commands or specific help",
showagi_help, NULL, &cli_show_agi_deprecated },