More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2006-11-02 23:49:13 +00:00
parent e05a2752e8
commit 56a1e60c54
7 changed files with 44 additions and 61 deletions

View File

@@ -4390,11 +4390,6 @@ static char qam_cmd_usage[] =
static char qrm_cmd_usage[] =
"Usage: queue remove member <channel> from <queue>\n";
static struct ast_cli_entry cli_show_queues_deprecated = {
{ "show", "queues", NULL },
queue_show, NULL,
NULL, NULL };
static struct ast_cli_entry cli_show_queue_deprecated = {
{ "show", "queue", NULL },
queue_show, NULL,
@@ -4411,6 +4406,11 @@ static struct ast_cli_entry cli_remove_queue_member_deprecated = {
NULL, complete_queue_remove_member };
static struct ast_cli_entry cli_queue[] = {
/* Deprecated */
{ { "show", "queues", NULL },
queue_show, NULL,
NULL, NULL },
{ { "queue", "show", NULL },
queue_show, "Show status of a specified queue",
queue_show_usage, complete_queue, &cli_show_queue_deprecated },