commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Shirley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLI-109) [cli] supporting options without a short option
Date Fri, 23 Jun 2006 15:53:30 GMT
    [ http://issues.apache.org/jira/browse/CLI-109?page=comments#action_12417514 ] 

Andrew Shirley commented on CLI-109:
------------------------------------

This is fixed in cli2 as it uses the concept of triggers any of which is just as importent
as any other. DefaultOptionBuilder creates appropriate triggers ("-" + shortName and "--"
+ longName)  as it builds a DefaultOption

> [cli] supporting options without a short option
> -----------------------------------------------
>
>          Key: CLI-109
>          URL: http://issues.apache.org/jira/browse/CLI-109
>      Project: Commons CLI
>         Type: Improvement

>  Environment: Operating System: other
> Platform: Other
>     Reporter: Ittay Dror
>     Priority: Minor

>
> Sometimes an application has an option that only has a long form, e.g., look at
> the 'find' utility. when trying to create an Option object with a short option
> set to null, the validation fails. if creating with "", the validation passes,
> but then exceptions look funny (only '-')

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message