From: Jonathan Rose Date: Wed, 4 Apr 2012 19:30:09 +0000 (+0000) Subject: Make 'help devstate change' display properly (get rid of excess comma) X-Git-Tag: 10.5.0-rc1~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=586399f8b5ed19f08b213e7968f148c77beb78d3;p=thirdparty%2Fasterisk.git Make 'help devstate change' display properly (get rid of excess comma) (closes issue ASTERISK-19444) Reported by: Makoto Dei Patches: devstate-change-usage-truncate.patch uploaded by Makoto Dei (license 5027) ........ Merged revisions 361201 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@361208 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/funcs/func_devstate.c b/funcs/func_devstate.c index 274f1ac039..1b1318a5d2 100644 --- a/funcs/func_devstate.c +++ b/funcs/func_devstate.c @@ -250,7 +250,7 @@ static char *handle_cli_devstate_change(struct ast_cli_entry *e, int cmd, struct " Change a custom device to a new state.\n" " The possible values for the state are:\n" "UNKNOWN | NOT_INUSE | INUSE | BUSY | INVALID | UNAVAILABLE | RINGING\n" - "RINGINUSE | ONHOLD\n", + "RINGINUSE | ONHOLD\n" "\n" "Examples:\n" " devstate change Custom:mystate1 INUSE\n"