'queue add member' help text correction

You are adding dial strings to the queue, not channels. An aribitrary string
could be used, but you are typically referencing a channel. Correcting the
command help text.

(issue ASTERISK-22263)
(closes issue ASTERISK-22263)
Reported By: Rusty Newton
........

Merged revisions 398884 from http://svn.asterisk.org/svn/asterisk/branches/1.8


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@398885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Rusty Newton
2013-09-12 00:02:37 +00:00
parent d75d1e2e64
commit f5d53c84bb

View File

@@ -9013,8 +9013,8 @@ static char *handle_queue_add_member(struct ast_cli_entry *e, int cmd, struct as
case CLI_INIT: case CLI_INIT:
e->command = "queue add member"; e->command = "queue add member";
e->usage = e->usage =
"Usage: queue add member <channel> to <queue> [[[penalty <penalty>] as <membername>] state_interface <interface>]\n" "Usage: queue add member <dial string> to <queue> [[[penalty <penalty>] as <membername>] state_interface <interface>]\n"
" Add a channel to a queue with optionally: a penalty, membername and a state_interface\n"; " Add a dial string (Such as a channel,e.g. SIP/6001) to a queue with optionally: a penalty, membername and a state_interface\n";
return NULL; return NULL;
case CLI_GENERATE: case CLI_GENERATE:
return complete_queue_add_member(a->line, a->word, a->pos, a->n); return complete_queue_add_member(a->line, a->word, a->pos, a->n);