tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mitch Claborn <mitch...@claborn.net>
Subject Re: Bug 62140 implementation question
Date Tue, 02 Oct 2018 14:45:08 GMT
Are the available verbs the same for both .sh and .bat? If so, perhaps a 
text file that contains the actual help text that could be output from 
both .bat and .sh.


Mitch

On 10/01/2018 02:48 PM, Marek Czernek wrote:
> 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,

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message