chore: Upgrade to clap v4.2

Tests in `master` are currently failing because its building with clap
v4.2 but the tests have snapshots from v4.1
This commit is contained in:
Ed Page 2023-03-28 05:00:49 -05:00
parent 145219a9f0
commit 6feea34f8a
5 changed files with 5 additions and 5 deletions

View file

@ -21,7 +21,7 @@ base64 = "0.21.0"
bytesize = "1.0"
cargo-platform = { path = "crates/cargo-platform", version = "0.1.2" }
cargo-util = { path = "crates/cargo-util", version = "0.2.4" }
clap = "4.1.3"
clap = "4.2.0"
crates-io = { path = "crates/crates-io", version = "0.36.0" }
curl = { version = "0.4.44", features = ["http2"] }
curl-sys = "0.4.61"

View file

@ -1,6 +1,6 @@
error: unexpected argument '--flag' found
note: argument '--tag' exists
tip: a similar argument exists: '--tag'
Usage: cargo add [OPTIONS] <DEP>[@<VERSION>] ...
cargo add [OPTIONS] --path <PATH> ...

View file

@ -1,6 +1,6 @@
error: unexpected argument '--flag' found
note: to pass '--flag' as a value, use '-- --flag'
tip: to pass '--flag' as a value, use '-- --flag'
Usage: cargo[EXE] remove <DEP_ID>...

View file

@ -1,6 +1,6 @@
error: unexpected argument '--flag' found
note: to pass '--flag' as a value, use '-- --flag'
tip: to pass '--flag' as a value, use '-- --flag'
Usage: cargo[EXE] init <path>

View file

@ -592,7 +592,7 @@ fn run_bins() {
"\
error: unexpected argument '--bins' found
note: argument '--bin' exists",
tip: a similar argument exists: '--bin'",
)
.run();
}