boostorg / boostorg/program_options

Feature Request: Provide conflicting_options and option_dependency

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
136
Forks
117
PR merge metrics
No merged PRs in 30d

Description

Why don't you provide `conflicting_options` and `option_dependency` shown in [example/real.cpp](http://www.boost.org/doc/libs/1_61_0/libs/program_options/example/real.cpp)?
It is useful.

If provided, It is desirable that `conflicting_options` is variadic.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading example/real.cpp, which demonstrates conflicting_options and option_dependency. Define the public API needed to provide both facilities, including the requested variadic form for conflicting_options, and confirm that the example’s use cases are supported; the issue names no tests, so project test coverage must be identified before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.