commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Keyes <j...@mac.com>
Subject Re: [cli] default values for arguments?
Date Mon, 10 Jun 2002 10:48:17 GMT
Check out the getOptionValue( char opt, String defaultValue) on
CommandLine.  If the option is not present then the defaultValue
is returned.

-John K

On Mon, 2002-06-10 at 11:54, dion@multitask.com.au wrote:
> I'd like to see a way of providing default values for options if the 
> option is not present.
> 
> Would this be a useful feature for others? I'm happy to do the work.
> --
> dIon Gillard, Multitask Consulting
> Work:      http://www.multitask.com.au
> Developers: http://adslgateway.multitask.com.au/developers
> 
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message