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

Cheng Fang (JIRA) jira-events at lists.jboss.org
Tue Oct 9 23:00:03 EDT 2012


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

Cheng Fang commented on AS7-5561:
---------------------------------

7.1 branch doesn't have this problem, or at most 7.1 doesn't distinguish between .sh and .bat.  So the proposed fix will only go to master (7.2).
                
> 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: Cheng Fang
>
> 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