Index: pbx/pbx_ael.c =================================================================== --- pbx/pbx_ael.c (revision 165728) +++ pbx/pbx_ael.c (working copy) @@ -164,7 +164,7 @@ 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"; Index: channels/chan_dahdi.c =================================================================== --- channels/chan_dahdi.c (revision 165728) +++ channels/chan_dahdi.c (working copy) @@ -12030,7 +12030,9 @@ 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 @@ 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 @@ 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 @@ 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; Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 165728) +++ channels/chan_sip.c (working copy) @@ -13673,9 +13673,9 @@ if (cmd == CLI_INIT) { e->command = "sip prune realtime [peer|all]"; e->usage = - "Usage: sip prune realtime [peer [|all|like ]|all]\n" - " Prunes object(s) from the cache.\n" - " Optional regular expression pattern is used to filter the objects.\n"; + "Usage: sip prune realtime [peer [|all|like ]|all]\n" + " Prunes object(s) from the cache.\n" + " Optional regular expression pattern is used to filter the objects.\n"; return NULL; } else if (cmd == CLI_GENERATE) { if (a->pos == 4 && !strcasecmp(a->argv[3], "peer")) { @@ -14745,10 +14745,10 @@ if (cmd == CLI_INIT) { e->command = "sip show {channels|subscriptions}"; e->usage = - "Usage: sip show channels\n" - " Lists all currently active SIP calls (dialogs).\n" - "Usage: sip show subscriptions\n" - " Lists active SIP subscriptions.\n"; + "Usage: sip show channels\n" + " Lists all currently active SIP calls (dialogs).\n" + "Usage: sip show subscriptions\n" + " Lists active SIP subscriptions.\n"; return NULL; } else if (cmd == CLI_GENERATE) return NULL; @@ -15463,7 +15463,7 @@ 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; Index: channels/chan_oss.c =================================================================== --- channels/chan_oss.c (revision 165728) +++ channels/chan_oss.c (working copy) @@ -877,8 +877,9 @@ switch (cmd) { case CLI_INIT: e->command = CONSOLE_VIDEO_CMDS; - e->usage = "Usage: " CONSOLE_VIDEO_CMDS "...\n" - " Generic handler for console commands.\n"; + e->usage = + "Usage: " CONSOLE_VIDEO_CMDS "...\n" + " Generic handler for console commands.\n"; return NULL; case CLI_GENERATE: Index: channels/chan_misdn.c =================================================================== --- channels/chan_misdn.c (revision 165728) +++ channels/chan_misdn.c (working copy) @@ -996,7 +996,7 @@ e->command = "misdn show config"; e->usage = "Usage: misdn show config [ | description | descriptions [general|ports]]\n" - " Use 0 for to only print the general config.\n"; + " Use 0 for to only print the general config.\n"; return NULL; case CLI_GENERATE: return complete_show_config(a); Index: apps/app_queue.c =================================================================== --- apps/app_queue.c (revision 165728) +++ apps/app_queue.c (working copy) @@ -6439,9 +6439,9 @@ e->command = "queue {pause|unpause} member"; e->usage = "Usage: queue {pause|unpause} member [queue [reason ]]\n" - " Pause or unpause a queue member. Not specifying a particular queue\n" - " will pause or unpause a member across all queues to which the member\n" - " belongs.\n"; + " Pause or unpause a queue member. Not specifying a particular queue\n" + " will pause or unpause a member across all queues to which the member\n" + " belongs.\n"; return NULL; case CLI_GENERATE: return complete_queue_pause_member(a->line, a-> word, a->pos, a->n); @@ -6513,8 +6513,8 @@ e->command = "queue set penalty"; e->usage = "Usage: queue set penalty on [in ]\n" - "Set a member's penalty in the queue specified. If no queue is specified\n" - "then that interface's penalty is set in all queues to which that interface is a member\n"; + " Set a member's penalty in the queue specified. If no queue is specified\n" + " then that interface's penalty is set in all queues to which that interface is a member\n"; return NULL; case CLI_GENERATE: return complete_queue_set_member_penalty(a->line, a->word, a->pos, a->n); @@ -6575,8 +6575,8 @@ e->command = "queue show rules"; e->usage = "Usage: queue show rules [rulename]\n" - "Show the list of rules associated with rulename. If no\n" - "rulename is specified, list all rules defined in queuerules.conf\n"; + " Show the list of rules associated with rulename. If no\n" + " rulename is specified, list all rules defined in queuerules.conf\n"; return NULL; case CLI_GENERATE: return complete_queue_rule_show(a->line, a->word, a->pos, a->n); @@ -6606,7 +6606,7 @@ e->command = "queue reload rules"; e->usage = "Usage: queue reload rules\n" - "Reloads rules defined in queuerules.conf\n"; + " Reloads rules defined in queuerules.conf\n"; return NULL; case CLI_GENERATE: return NULL;