'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
........

Merged revisions 398885 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 398886 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@398887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Rusty Newton
2013-09-12 00:04:57 +00:00
parent 7c346a31ef
commit 4e3f78ad7b

View File

@@ -9489,8 +9489,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);