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

allow hidden option groups for help. #356

Merged
merged 2 commits into from
Nov 30, 2019

Conversation

phlptp
Copy link
Collaborator

@phlptp phlptp commented Nov 30, 2019

If merged this PR will recognize option_groups with no name and hide them, similar to specifying group("")

Adds a test that verifies this functionality.

Fixes #327

@codecov
Copy link

codecov bot commented Nov 30, 2019

Codecov Report

Merging #356 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #356   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          12     12           
  Lines        3352   3353    +1     
=====================================
+ Hits         3352   3353    +1
Impacted Files Coverage Δ
include/CLI/Formatter.hpp 100% <100%> (ø) ⬆️

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 67dc672...6e3a1b2. Read the comment docs.

@henryiii henryiii merged commit ba7b29f into CLIUtils:master Nov 30, 2019
@henryiii henryiii deleted the hidden_option_group branch November 30, 2019 18:30
@henryiii henryiii added this to the v1.9 milestone Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hide an Option_group from help
2 participants