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

Mangen no longer generates suggestions for options that don't take values #4506

Closed
wants to merge 2 commits into from

Commits on Nov 23, 2022

  1. fix: Don't suggest values for boolean options

    The man generation would generate suggestions for all options of
    values they should take, even if the argument did not take values.
    This adds a simple check to make sure only options that take values
    offer a suggestion
    
    fixes: clap-rs#4443
    Calder-Ty committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    b0f6289 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2022

  1. test: Add test of derive functionality

    It was noticed that between clap-rs#4443 and clap-rs#4432, an issue in the behavior
    was that the derive api handles tasks with values slightly differently
    than the declarative api. Added a test to show parity between
    declaritive and derive api.
    Calder-Ty committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    d9e5473 View commit details
    Browse the repository at this point in the history