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-270) UnrecognizedOptionException when providing "Java Property Option" via property files
Date Mon, 13 Mar 2017 10:06:04 GMT
Christoph Läubrich created CLI-270:
--------------------------------------

             Summary: UnrecognizedOptionException when providing "Java Property Option" via
property files
                 Key: CLI-270
                 URL: https://issues.apache.org/jira/browse/CLI-270
             Project: Commons CLI
          Issue Type: Bug
          Components: CLI-1.x
    Affects Versions: 1.3.1, 1.3, 1.4
            Reporter: Christoph Läubrich


If you specify a "Java Property Option" as described here https://commons.apache.org/proper/commons-cli/usage.html
it only works when provided via command-line arguments and not via the optional properties
file.
This seems to happen because the properties only allow "perfect match" while the commandline
argument do some kind of prefix matching.



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

Mime
View raw message