GitHub user rubin55 opened a pull request:

    https://github.com/apache/commons-cli/pull/15

    CLI-217: Optional partial matching

    At request of Gary, I (re)created an old patch against the current code 
base to enable partial matching to be set as optional. This fixes problems for 
people that have short options that, concatenated, also partial-match a long 
option.
    
    For example:
        -d, --debug
        -e, --extract
    
        foo -de
    
    Is ambiguous in the case that partial matching is enabled. This patch 
allows a user to turn off partial matching in such a case.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rubin55/commons-cli master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-cli/pull/15.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15
    
----
commit 186612c45b973f0b2f9e7a5a9ee97a6e3bfc3cad
Author: Rubin Simons <ru...@raaftech.com>
Date:   2017-06-22T13:33:03Z

    Ignore IDE specific files

commit 6e7850b99024032c8cf4979d2eea61302dfd6a09
Author: Rubin Simons <ru...@raaftech.com>
Date:   2017-06-23T09:51:56Z

    Ignore IntelliJ IDEA files too

commit bdb4a09ceaceab7e3d214b1beadb93bd9c911342
Author: Rubin Simons <ru...@raaftech.com>
Date:   2017-06-23T11:04:27Z

    Added support for disabling partial option matching

commit 4f17a89ad04bcf718aeac43d202f8c261ce0b796
Author: Rubin Simons <ru...@raaftech.com>
Date:   2017-06-23T11:04:59Z

    Added tests for partial matching enable/disable

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to