Skip to content

Bump clap from 3.2.16 to 4.0.18

Ghost User requested to merge dependabot-cargo-clap-4.0.18 into master

Bumps clap from 3.2.16 to 4.0.18.

Release notes

Sourced from clap's releases.

v4.0.18

[4.0.18] - 2022-10-20

Fixes

  • (derive) Allow #[command(skip)] to also work with enum variants with a value

v4.0.17

[4.0.17] - 2022-10-18

Fixes

  • Allow using Arg::last(true) with Arg::value_hint(ValueHint::CommandWithArguments)

v4.0.16

[4.0.16] - 2022-10-18

Fixes

  • Arg::exclusive(true) should not be exclusive with the argument's own ArgGroup

v4.0.15

[4.0.15] - 2022-10-13

Fixes

  • (error) Don't suggest -- when it doesn't help
  • (error) Be more consistent in quoting, punctuation, and indentation in errors

v4.0.14

[4.0.14] - 2022-10-12

Fixes

  • Only put ArgGroup in ArgMatches when explicitly specified, fixing derives handling of option-flattened fields (#4375)

v4.0.13

[4.0.13] - 2022-10-11

Features

  • (derive) Allow () for fields to mean "don't read" (#4371)

v4.0.12

[4.0.12] - 2022-10-10

Features

  • Added TypedValueParser::try_map for when adapting an existing TypedValueParser can fail
  • (error) Create errors like clap with Error::new, Error::with_cmd, and Error::insert

... (truncated)

Changelog

Sourced from clap's changelog.

[4.0.18] - 2022-10-20

Fixes

  • (derive) Allow #[command(skip)] to also work with enum variants with a value

[4.0.17] - 2022-10-18

Fixes

  • Allow using Arg::last(true) with Arg::value_hint(ValueHint::CommandWithArguments)

[4.0.16] - 2022-10-18

Fixes

  • Arg::exclusive(true) should not be exclusive with the argument's own ArgGroup

[4.0.15] - 2022-10-13

Fixes

  • (error) Don't suggest -- when it doesn't help
  • (error) Be more consistent in quoting, punctuation, and indentation in errors

[4.0.14] - 2022-10-12

Fixes

  • Only put ArgGroup in ArgMatches when explicitly specified, fixing derives handling of option-flattened fields (#4375)

[4.0.13] - 2022-10-11

Features

  • (derive) Allow () for fields to mean "don't read" (#4371)

[4.0.12] - 2022-10-10

Features

  • Added TypedValueParser::try_map for when adapting an existing TypedValueParser can fail
  • (error) Create errors like clap with Error::new, Error::with_cmd, and Error::insert

[4.0.11] - 2022-10-09

Fixes

  • (help) Fix wrapping calculations with ANSI escape codes

... (truncated)

Commits


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports