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

Omit the help flags from help that are masked by other options #1247

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

shadowspawn
Copy link
Collaborator

Pull Request

Problem

User added options can use flags that mask the implicit help flags, but they continue to be displayed in the help.

See #645

Solution

Check which implicit help flags should be displayed. Support masking of short, or long, or even both.

ChangeLog

  • Omit masked help flags from the displayed help

Copy link
Collaborator

@abetomo abetomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Collaborator

@abetomo abetomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@shadowspawn shadowspawn merged commit e1966fc into tj:develop Apr 21, 2020
@shadowspawn shadowspawn deleted the feature/mask-help-options branch April 21, 2020 06:29
@shadowspawn shadowspawn added pending release Merged into a branch for a future release, but not released yet and removed pending release Merged into a branch for a future release, but not released yet labels Apr 21, 2020
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.

2 participants