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)