Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.3, 1.3.1, 1.4
-
None
-
None
Description
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.
See https://github.com/laeubi/commons-cli/blob/63e91f3414f6abef193f81d963ceccae768cc2e8/src/test/java/org/apache/commons/cli/bug/BugCLI270Test.java for a test-case.