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

fix(help): Subcommand help looks like --help #3451

Merged
merged 1 commit into from Feb 11, 2022
Merged

Commits on Feb 11, 2022

  1. fix(help): Subcommand help looks like --help

    Like was said in clap-rs#2435, this is what people would expect.
    
    While we should note this in a compatibility section in the changelog, I
    do not consider this a breaking change since we should be free to adjust
    the help output as needed.  We are cautious when people might build up
    their own content around it (like clap-rs#3312) but apps should already handle
    this with `--help` so this shouldn't be a major change.
    
    We aren't offering a way for people to disable this, assuming people
    won't need to.  Longer term, we are looking at support "Actions" (clap-rs#3405)
    and expect those to help customize the flags.  We'll need something
    similar for the `help` subcommand.
    
    Fixes clap-rs#3440
    epage committed Feb 11, 2022
    Copy the full SHA
    06d43a0 View commit details
    Browse the repository at this point in the history