[ http://issues.apache.org/jira/browse/CLI-80?page=all ]
Henri Yandell resolved CLI-80:
------------------------------
Resolution: Fixed
Test added to 2.0 to show that the issue does not exist there.
svn ci -m "Unit test created by Andrew Shirley (see CLI-80) added to show that
the issue
of allowing repeated options does not crop up in the CLI 2 API. "
src/test/org/apache/commons/cli2/bug/BugCLI80Test.java
Adding src/test/org/apache/commons/cli2/bug/BugCLI80Test.java
Transmitting file data .
Committed revision 421163.
> [cli] support validation for one/many values
> --------------------------------------------
>
> Key: CLI-80
> URL: http://issues.apache.org/jira/browse/CLI-80
> Project: Commons CLI
> Type: Improvement
> Versions: 1.0
> Environment: Operating System: other
> Platform: Other
> Reporter: Ittay Dror
> Priority: Minor
> Fix For: 2.0
> Attachments: BugCLI80Test.java
>
> currently, if i supply the same option twice, no error is issued. it would be
> nice if when creating the Option object, i could specify if it accepts
> multiple
> values, and if not, a parsing exception would be thrown.
--
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]