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(v4): Disallow leading dashes in long's #3691

Merged
merged 1 commit into from May 4, 2022
Merged

Commits on May 4, 2022

  1. fix(v4): Disallow leading dashes in long's

    This is a step towards clap-rs#3309.  We want to make longs and long aliases
    more consistent in how they handle leading dashes.  There is more
    flexibility offered in not stripping and it matches the v3 short
    behavior of only taking the non-dash form.  This starts the process by
    disallowing it completely so people will catch problems with it and
    remove their existing leading dashes.  In a subsequent breaking release
    we can remove the debug assert and allow triple-leading dashes.
    epage committed May 4, 2022
    Copy the full SHA
    d3e36b1 View commit details
    Browse the repository at this point in the history