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

@@ -1721,11 +1721,11 @@ static int agents_show_online(int fd, int argc, char **argv)
static char show_agents_usage[] =
"Usage: agent list\n"
"Usage: agent show\n"
" Provides summary information on agents.\n";
static char show_agents_online_usage[] =
"Usage: agent list online\n"
"Usage: agent show online\n"
" Provides a list of all online agents.\n";
static char agent_logoff_usage[] =
@@ -1744,11 +1744,11 @@ static struct ast_cli_entry cli_show_agents_online_deprecated = {
NULL, NULL };
static struct ast_cli_entry cli_agents[] = {
{ { "agent", "list", NULL },
{ { "agent", "show", NULL },
agents_show, "Show status of agents",
show_agents_usage, NULL, &cli_show_agents_deprecated },
{ { "agent", "list", "online" },
{ { "agent", "show", "online" },
agents_show_online, "Show all online agents",
show_agents_online_usage, NULL, &cli_show_agents_online_deprecated },