[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]