Numerous documentation updates.

(closes issue #13970)
Reported by: pkempgen
Patches:
      __20081217_cli_usage_fixes.patch.txt uploaded by blitzrage (license 10)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@165792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.2
Joshua Colp 17 years ago
parent 221694480c
commit 654ea55a65

@ -12030,7 +12030,9 @@ 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";
e->usage =
"Usage: pri show debug\n"
" Show the debug state of pri spans\n";
return NULL;
case CLI_GENERATE:
return NULL;
@ -12064,7 +12066,9 @@ 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";
e->usage =
"Usage: pri show version\n"
"Show libpri version information\n";
return NULL;
case CLI_GENERATE:
return NULL;
@ -13572,7 +13576,9 @@ 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";
e->usage =
"Usage: ss7 show version\n"
" Show the libss7 version\n";
return NULL;
case CLI_GENERATE:
return NULL;

@ -877,7 +877,8 @@ static char *console_cmd(struct ast_cli_entry *e, int cmd, struct ast_cli_args *
switch (cmd) {
case CLI_INIT:
e->command = CONSOLE_VIDEO_CMDS;
e->usage = "Usage: " CONSOLE_VIDEO_CMDS "...\n"
e->usage =
"Usage: " CONSOLE_VIDEO_CMDS "...\n"
" Generic handler for console commands.\n";
return NULL;

@ -15463,7 +15463,7 @@ static char *sip_set_history(struct ast_cli_entry *e, int cmd, struct ast_cli_ar
case CLI_INIT:
e->command = "sip set history {on|off}";
e->usage =
"Usage: sip history {on|off}\n"
"Usage: sip set history {on|off}\n"
" Enables/Disables recording of SIP dialog history for debugging purposes.\n"
" Use 'sip show history' to view the history of a call number.\n";
return NULL;

@ -164,7 +164,7 @@ static char *handle_cli_ael_set_debug(struct ast_cli_entry *e, int cmd, struct a
case CLI_INIT:
e->command = "ael set debug {read|tokens|macros|contexts|off}";
e->usage =
"Usage: ael debug {read|tokens|macros|contexts|off}\n"
"Usage: ael set debug {read|tokens|macros|contexts|off}\n"
" Enable AEL read, token, macro, or context debugging,\n"
" or disable all AEL debugging messages. Note: this\n"
" currently does nothing.\n";

Loading…
Cancel
Save