Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue with option defaults not propagating to option groups #450

Merged
merged 1 commit into from
May 21, 2020

Conversation

phlptp
Copy link
Collaborator

@phlptp phlptp commented Apr 6, 2020

Closes #437

Adds a test and use the parent contstructor for option groups to propagate the option_defaults like for subcommands.

@codecov
Copy link

codecov bot commented Apr 6, 2020

Codecov Report

Merging #450 into master will not change coverage by %.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #450   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines         3687      3687           
=========================================
  Hits          3687      3687           
Impacted Files Coverage Δ
include/CLI/App.hpp 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9a2f32...eb9d35d. Read the comment docs.

@henryiii henryiii merged commit fff3350 into CLIUtils:master May 21, 2020
@henryiii henryiii deleted the option_group_option_defaults branch May 21, 2020 14:07
@henryiii henryiii added this to the v1.9.1 milestone Jun 2, 2020
nksanthosh added a commit to EOSIO/eos that referenced this pull request Aug 3, 2020
This CLI11 update from v1.9.0 to v1.9.1 provides the following improvements: 
- Support relative inclusion [#475](CLIUtils/CLI11#475)
- Fix cases where spaces in paths could break CMake support [#471](CLIUtils/CLI11#471)
- Fix an issue with string conversion [#421](CLIUtils/CLI11#421)
- Cross-compiling improvement for Conan.io [#430](CLIUtils/CLI11#430)
- Fix option group default propagation [#450](CLIUtils/CLI11#450)
- Fix for C++20 [#459](CLIUtils/CLI11#459)
- Support compiling with RTTI off [#461](CLIUtils/CLI11#461)
@nksanthosh nksanthosh mentioned this pull request Aug 3, 2020
7 tasks
dimas1185 pushed a commit to EOSIO/eos that referenced this pull request Aug 4, 2020
This CLI11 update from v1.9.0 to v1.9.1 provides the following improvements: 
- Support relative inclusion [#475](CLIUtils/CLI11#475)
- Fix cases where spaces in paths could break CMake support [#471](CLIUtils/CLI11#471)
- Fix an issue with string conversion [#421](CLIUtils/CLI11#421)
- Cross-compiling improvement for Conan.io [#430](CLIUtils/CLI11#430)
- Fix option group default propagation [#450](CLIUtils/CLI11#450)
- Fix for C++20 [#459](CLIUtils/CLI11#459)
- Support compiling with RTTI off [#461](CLIUtils/CLI11#461)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

option_defaults not propagated to new option groups
2 participants