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

[Merged by Bors] - Update clap to 3.2 in tools using value_parser #5031

Closed
wants to merge 1 commit into from
Closed

[Merged by Bors] - Update clap to 3.2 in tools using value_parser #5031

wants to merge 1 commit into from

Commits on Jun 16, 2022

  1. Update clap to 3.2 in tools using value_parser

    **Why?**
    The `value_parser` `clap` attribute was added in
    [version 3.2.0][0]. With the current version of `3.1.12` users can get
    errors like:
    
    ```
    error: unexpected attribute: value_parser
      --> tools/spancmp/src/main.rs:18:25
       |
    18 |     #[clap(short, long, value_parser, default_value_t = 0.0)]
       |                         ^^^^^^^^^^^^
    ```
    
    [0]: https://github.com/clap-rs/clap/blob/master/CHANGELOG.md#320---2022-06-13
    mlodato517 committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    5f2aede View commit details
    Browse the repository at this point in the history