Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
Description
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