[
https://issues.apache.org/jira/browse/CLI-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16529196#comment-16529196
]
ASF GitHub Bot commented on CLI-289:
------------------------------------
GitHub user Desislav-Petrov opened a pull request:
https://github.com/apache/commons-cli/pull/27
CLI-289 - Adding a complementary arg feature
Should we add the same changes to the deprecated parsers? Problem is that,
there will be lots of duplicated code unless we refactor to a base class. Any
thoughts?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Desislav-Petrov/commons-cli master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-cli/pull/27.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 #27
----
commit e7b9cbd3b4306d07de4b794dbcd2699064cc145a
Author: des <desislavpetrov@...>
Date: 2018-07-01T18:48:03Z
CLI-289 - Adding a complementary arg feature
----
> Add command line args dependencies
> ----------------------------------
>
> Key: CLI-289
> URL: https://issues.apache.org/jira/browse/CLI-289
> Project: Commons CLI
> Issue Type: Improvement
> Reporter: Desislav Petrov
> Priority: Minor
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Currently, there's no way to say that a certain parameter X requires Y and Z
> to be present as well.
> The change enhances the library by providing a way to say that a given option
> X depends on one or more of the other options.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)