From 654ea55a651e4cde4b904a283971b59a021aca88 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Thu, 18 Dec 2008 21:21:44 +0000 Subject: 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 --- channels/chan_dahdi.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'channels/chan_dahdi.c') diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index b2ea67824..c4ac8506d 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -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; @@ -12888,10 +12892,10 @@ static char *dahdi_set_dnd(struct ast_cli_entry *e, int cmd, struct ast_cli_args e->command = "dahdi set dnd"; e->usage = "Usage: dahdi set dnd \n" - " Sets/resets DND (Do Not Disturb) mode on a channel.\n" - " Changes take effect immediately.\n" - " is the channel number\n" - " Enable or disable DND mode?\n" + " Sets/resets DND (Do Not Disturb) mode on a channel.\n" + " Changes take effect immediately.\n" + " is the channel number\n" + " Enable or disable DND mode?\n" ; return NULL; case CLI_GENERATE: @@ -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; -- cgit v1.2.3