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 21:04:31 GMT
Its an easy one to miss.  My main goal for the 1.0 release is to
have good user documentation in place.  I hope that it will be
comprehensive enough to cover this type of question.

-John K

On Monday, June 10, 2002, at 05:13 , dion@multitask.com.au wrote:

> Thanks....missed this one in the docs. I've used it and it makes the 
> code
> a lot more readable.
> --
> dIon Gillard, Multitask Consulting
> Work:      http://www.multitask.com.au
> Developers: http://adslgateway.multitask.com.au/developers
>
>
>
>
> John Keyes <jbjk@mac.com>
> 06/10/02 08:48 PM
> Please respond to "Jakarta Commons Developers List"
>
>
>         To:     Jakarta Commons Developers List <commons-
> dev@jakarta.apache.org>
>         cc:
>         Subject:        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:   <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>
>
>
>
>
>
> --
> 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