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

Commits on Jun 15, 2022

  1. Copy the full SHA
    c9988db View commit details
    Browse the repository at this point in the history
  2. docs: Provide a hybrid-flag example

    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
    epage committed Jun 15, 2022
    Copy the full SHA
    40daa70 View commit details
    Browse the repository at this point in the history