[jboss-jira] [JBoss JIRA] (AS7-6602) Inconsistent output between standalone and domain when invalid command line options is presented
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Thu Feb 21 20:01:56 EST 2013
Brian Stansberry created AS7-6602:
-------------------------------------
Summary: Inconsistent output between standalone and domain when invalid command line options is presented
Key: AS7-6602
URL: https://issues.jboss.org/browse/AS7-6602
Project: Application Server 7
Issue Type: Bug
Components: Server
Affects Versions: 7.2.0.Alpha1
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 8.0.0.Alpha1
Calling [standalone|domain].[sh|bat] with nonsense arguments resulted in the usage message on EAP6.0. The usage message is now presented only for standalone.[sh|bat], but it is missing for domain.
$ ./domain.sh foo
...
14:28:24,452 INFO [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1
14:28:24,519 INFO [org.jboss.as.process.Host Controller.status] (main) JBAS012017: Starting process 'Host Controller'
[Host Controller] 14:28:24,822 INFO [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1
[Host Controller] 14:28:24,878 ERROR [stderr] (main) JBAS010961: Invalid option 'foo'. Use domain.sh --help for information on valid command line arguments and their syntax.
14:28:24,886 INFO [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) JBAS012010: Process 'Host Controller' finished with an exit status of 99
14:28:24,891 INFO [org.jboss.as.process] (Thread-6) JBAS012016: Shutting down process controller
14:28:24,892 INFO [org.jboss.as.process] (Thread-6) JBAS012015: All processes finished; exiting
Also the line:
Invalid option '--foo'Usage: ./standalone.sh [args...]
is missing while calling eg. standalone.[sh|bat] --foo
--
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