Make 'help devstate change' display properly (get rid of excess comma)
authorJonathan Rose <jrose@digium.com>
Wed, 4 Apr 2012 19:32:57 +0000 (19:32 +0000)
committerJonathan Rose <jrose@digium.com>
Wed, 4 Apr 2012 19:32:57 +0000 (19:32 +0000)
(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
........

Merged revisions 361208 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@361209 65c4cc65-6c06-0410-ace0-fbb531ad65f3

funcs/func_devstate.c

index 274f1ac..1b1318a 100644 (file)
@@ -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"