commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru Mocanu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLI-214) Option(String, String) constructor not mirrored by Options.addOption
Date Sun, 21 Aug 2011 03:01:35 GMT

     [ https://issues.apache.org/jira/browse/CLI-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexandru Mocanu updated CLI-214:
---------------------------------

    Comment: was deleted

(was: I agree, the symmetry should probably be conserved. I attached a patch for it anyway.)

> Option(String, String) constructor not mirrored by Options.addOption
> --------------------------------------------------------------------
>
>                 Key: CLI-214
>                 URL: https://issues.apache.org/jira/browse/CLI-214
>             Project: Commons CLI
>          Issue Type: Improvement
>          Components: CLI-1.x
>    Affects Versions: 1.2
>            Reporter: Willis Blackburn
>            Priority: Minor
>         Attachments: cli_214.patch
>
>
> Option has three constructors.  Options has several "addOption" methods that obviously
are intended to mirror the Option constructors, but there are only two;  the one with two
strings is missing.  It would be nice to fix this inconsistency.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message