You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Christoph Läubrich (JIRA)" <ji...@apache.org> on 2017/03/13 10:06:04 UTC
[jira] [Created] (CLI-270) UnrecognizedOptionException when
providing "Java Property Option" via property files
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)