You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Andrew Shirley (JIRA)" <ji...@apache.org> on 2006/06/23 17:53:30 UTC

[jira] Commented: (CLI-109) [cli] supporting options without a short option

    [ 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