summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMichiel van Baak <michiel@vanbaak.info>2008-09-27 00:49:24 +0000
committerMichiel van Baak <michiel@vanbaak.info>2008-09-27 00:49:24 +0000
commitf1b673eef0471fa17b4149aec92a3a10e76ff5b2 (patch)
tree4dcdd32646616d4c240cc8dd324dd852254b6dbd /apps
parent58d92c71a42bd4e03e8e2c46ac1f6400cb20e2c7 (diff)
fix a couple of CLI commands that did not have a help description.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@144879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_queue.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 4f6d160ea..f4289d323 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -5953,7 +5953,8 @@ static char *handle_queue_add_member(struct ast_cli_entry *e, int cmd, struct as
case CLI_INIT:
e->command = "queue add member";
e->usage =
- "Usage: queue add member <channel> to <queue> [[[penalty <penalty>] as <membername>] state_interface <interface>]\n";
+ "Usage: queue add member <channel> 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";
return NULL;
case CLI_GENERATE:
return complete_queue_add_member(a->line, a->word, a->pos, a->n);
@@ -6065,7 +6066,9 @@ static char *handle_queue_remove_member(struct ast_cli_entry *e, int cmd, struct
switch (cmd) {
case CLI_INIT:
e->command = "queue remove member";
- e->usage = "Usage: queue remove member <channel> from <queue>\n";
+ e->usage =
+ "Usage: queue remove member <channel> from <queue>\n"
+ " Remove a specific channel from a queue.\n";
return NULL;
case CLI_GENERATE:
return complete_queue_remove_member(a->line, a->word, a->pos, a->n);