Hi there,
I'd like to resolve Bug 62140 [0]. I just wanted to gather some opinions
about the implementation details. In my mind, the following solution is
quite reasonable:
1. Create new help scripts, such as help.sh and help.bat. These files
contain a method for each functional verb that prints some info
about the verb and exits with 0.
2. Source the files in both catalina.sh and catalina.bat
3. When user enters catalina.[sh|bat] $verb help (or -h, --help?),
execute one of the methods.
In my mind, the above solution is quite straightforward. Any gotchas, or
obvious problems?
[0] https://bz.apache.org/bugzilla/show_bug.cgi?id=62140
Cheers,
--
Marek Czernek
JWS/JBCS Associate Quality Engineer, RHCA
Find me at www.halfastack.com