Skip to content

allow hidden option groups for help. - #356

Merged
henryiii merged 2 commits into
CLIUtils:masterfrom
phlptp:hidden_option_group
Nov 30, 2019
Merged

henryiii merged 2 commits into
CLIUtils:masterfrom
phlptp:hidden_option_group

Conversation

@phlptp

@phlptp phlptp commented Nov 30, 2019

Copy link
Copy Markdown
Collaborator

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

codecov Bot commented Nov 30, 2019 •

Copy link
Copy Markdown

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