jbossas/jboss-as — pull request #2955 by jamezp (2012-08-21 17:20:29+00:00)
Title: [AS7-1459] Add debug flag in the --help output and make the standalone

The --debug flag can be at any place in the list of arguments.
eg :

./standalone.sh -c=standalone-ha.xml --debug -b 0.0.0.0 # debug on port 8787
./standalone.bat -b 0.0.0.0 --debug 9797 # debug on port 9797
The debug flag is now removed from the command line arguments to send only the server arguments to the java main class.

As requested by Brian Stansberry the --help output now print for the debug flag :

--debug [] Activate debug mode with an optional
argument to specify the port. Only
works if the launch script supports it.

Removed -d option and parameter parsing from batch script.