commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLI-217) Optional partial matching for long options
Date Fri, 07 Jul 2017 12:41:00 GMT

    [ https://issues.apache.org/jira/browse/CLI-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16078017#comment-16078017
] 

ASF GitHub Bot commented on CLI-217:
------------------------------------

Github user chtompki commented on the issue:

    https://github.com/apache/commons-cli/pull/15
  
    Looking at [CLI-217.patch](https://issues.apache.org/jira/secure/attachment/12568952/CLI-217.patch),
I was wondering if we shouldn't also include changes to `PosixParser`? The changes would be
at https://github.com/apache/commons-cli/blob/master/src/main/java/org/apache/commons/cli/PosixParser.java#L127
and https://github.com/apache/commons-cli/blob/master/src/main/java/org/apache/commons/cli/PosixParser.java#L134
based on the bottom of that patch file. No worries if there is a distinct reason for not including
those, just curious if you saw that in the patch.


> Optional partial matching for long options
> ------------------------------------------
>
>                 Key: CLI-217
>                 URL: https://issues.apache.org/jira/browse/CLI-217
>             Project: Commons CLI
>          Issue Type: Improvement
>          Components: Parser
>    Affects Versions: 1.3
>            Reporter: Emmanuel Bourg
>         Attachments: CLI-217.patch, optPartialMatch.patch
>
>
> DefaultParser support partial long options (i.e --ver matches --version if there is no
ambiguity), but for some cases it might be necessary to disable this feature.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message