[jboss-jira] [JBoss JIRA] (AS7-5561) incorrect command name in error message reported by jboss-cli

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Fri Sep 14 15:09:32 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718771#comment-12718771 ] 

Brian Stansberry commented on AS7-5561:
---------------------------------------

Ok, thanks. I thought you meant somewhere in the CLI tool. That argUsage() method definitely shouldn't be reused across different launch types.

                
> incorrect command name in error message reported by jboss-cli
> -------------------------------------------------------------
>
>                 Key: AS7-5561
>                 URL: https://issues.jboss.org/browse/AS7-5561
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 7.2.0.Alpha1
>            Reporter: Cheng Fang
>            Assignee: Jason Greene
>
> When reporting invalid options, jboss-cli uses the hard-coded name ./domain.sh, even if the actual command is standalone.sh, standalone.bat.
> Could be from this class:
> org.jboss.as.process.ProcessMessages
> @Message(id = Message.NONE, value = "Usage: ./domain.sh [args...]%nwhere args include:")
>     String argUsage();
> I also suggest removing the leading ./

--
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