You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by John Keyes <jb...@mac.com> on 2002/06/10 12:48:17 UTC

Re: [cli] default values for arguments?

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:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>