[
https://issues.apache.org/jira/browse/CLI-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sandeep Tamhankar resolved CLI-281.
-----------------------------------
Resolution: Duplicate
> Make concatenated options configurable
> --------------------------------------
>
> Key: CLI-281
> URL: https://issues.apache.org/jira/browse/CLI-281
> Project: Commons CLI
> Issue Type: Improvement
> Components: Parser
> Affects Versions: 1.4
> Reporter: Sandeep Tamhankar
>
> In my application, I have multi-character short options. I'd like to require
> the user to specify such options precisely; allowing substring matches will
> lead to my users' confusion. For example, if I have {{-f}} and {{-foo}}
> options, and the user specifies {{-fao}}, I do *not* want it interpreted as
> {{-f}} with value {{ao}}. I want parsing to fail.
> It would be great for a parser option to control this behavior, defaulting to
> be enabled, for backward-compatibility.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)