mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merged revisions 47051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47051 | tilghman | 2006-11-02 17:00:20 -0600 (Thu, 02 Nov 2006) | 2 lines 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/trunk@47052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1720,11 +1720,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[] =
|
||||
@@ -1733,11 +1733,11 @@ static char agent_logoff_usage[] =
|
||||
" If 'soft' is specified, do not hangup existing calls.\n";
|
||||
|
||||
static struct ast_cli_entry cli_agents[] = {
|
||||
{ { "agent", "list", NULL },
|
||||
{ { "agent", "show", NULL },
|
||||
agents_show, "Show status of agents",
|
||||
show_agents_usage },
|
||||
|
||||
{ { "agent", "list", "online" },
|
||||
{ { "agent", "show", "online" },
|
||||
agents_show_online, "Show all online agents",
|
||||
show_agents_online_usage },
|
||||
|
||||
|
Reference in New Issue
Block a user