[jboss-jira] [JBoss JIRA] (AS7-6941) CLI jboss-cli.sh/bat --help fails with StringIndexOutOfBoundsException

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Fri Apr 19 09:24:53 EDT 2013


     [ https://issues.jboss.org/browse/AS7-6941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Loubyansky resolved AS7-6941.
------------------------------------

    Resolution: Done


Fixed.
                
> CLI jboss-cli.sh/bat --help fails with StringIndexOutOfBoundsException
> ----------------------------------------------------------------------
>
>                 Key: AS7-6941
>                 URL: https://issues.jboss.org/browse/AS7-6941
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Alexey Loubyansky
>            Assignee: Alexey Loubyansky
>             Fix For: 8.0.0.Alpha1
>
>
> The CLI doesn't initialize the console when it is launched in the non-interactive mode. But the help content formatter relies on the current terminal width and height that are set to -1 in the non-interactive mode.
> So, the console should be initialized on demand/lazily in these cases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list