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

docs: Provide a hybrid-flag example #3837

Merged
merged 2 commits into from Jun 15, 2022
Merged

docs: Provide a hybrid-flag example #3837

merged 2 commits into from Jun 15, 2022

Conversation

epage
Copy link
Member

@epage epage commented Jun 15, 2022

Between

  • ArgAction::SetTrue storing actual values
  • ArgAction::Set making it easier for derive users to override bool
    behavior
  • Arg::default_missing_value allowing hybrid-flags
  • This commit documenting hybrid-flags even further

There shouldn't be anything left for #1649

Fixes #1649

Between
- `ArgAction::SetTrue` storing actual values
- `ArgAction::Set` making it easier for derive users to override bool
  behavior
- `Arg::default_missing_value` allowing hybrid-flags
- This commit documenting hybrid-flags even further

There shouldn't be anything left for clap-rs#1649

Fixes clap-rs#1649
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.

Allow boolean literals as values for flags
1 participant