commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Läubrich (JIRA) <j...@apache.org>
Subject [jira] [Created] (CLI-271) CommandLine.getXXX and CommandLine.hasXXX should accept an Option as a parameter
Date Mon, 13 Mar 2017 10:16:04 GMT
Christoph Läubrich created CLI-271:
--------------------------------------

             Summary: CommandLine.getXXX and CommandLine.hasXXX should accept an Option as
a parameter
                 Key: CLI-271
                 URL: https://issues.apache.org/jira/browse/CLI-271
             Project: Commons CLI
          Issue Type: Improvement
          Components: CLI-1.x
    Affects Versions: 1.4
            Reporter: Christoph Läubrich


Currently there is some searching and String matching to find a matching option for the hasXXX
and getXXX it would be nice to pass in an Option instance directly, this would also allow
further improvements (e.g. infer the type of an option), prevents exhaustive search for matching
option as well as type-safety.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message