fix a couple of CLI commands that did not have a help description.
authorMichiel van Baak <michiel@vanbaak.info>
Sat, 27 Sep 2008 00:49:24 +0000 (00:49 +0000)
committerMichiel van Baak <michiel@vanbaak.info>
Sat, 27 Sep 2008 00:49:24 +0000 (00:49 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@144879 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c
channels/chan_dahdi.c

index 4f6d160..f4289d3 100644 (file)
@@ -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);
index 25e76b5..0c8cbea 100644 (file)
@@ -11884,6 +11884,7 @@ static char *handle_pri_show_debug(struct ast_cli_entry *e, int cmd, struct ast_
        switch (cmd) {
        case CLI_INIT:  
                e->command = "pri show debug";
+               e->usage = "Show the debug state of pri spans\n";
                return NULL;
        case CLI_GENERATE:
                return NULL;    
@@ -11917,6 +11918,7 @@ static char *handle_pri_version(struct ast_cli_entry *e, int cmd, struct ast_cli
        switch (cmd) {
        case CLI_INIT:
                e->command = "pri show version";
+               e->usage = "Show libpri version information\n";
                return NULL;
        case CLI_GENERATE:
                return NULL;
@@ -13451,6 +13453,7 @@ static char *handle_ss7_version(struct ast_cli_entry *e, int cmd, struct ast_cli
        switch (cmd) {
        case CLI_INIT:
                e->command = "ss7 show version";
+               e->usage = "Show the libss7 version\n";
                return NULL;
        case CLI_GENERATE:
                return NULL;