mirror of
https://github.com/rust-lang/cargo
synced 2024-08-28 03:39:31 +00:00
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:
parent
145219a9f0
commit
6feea34f8a
|
@ -21,7 +21,7 @@ base64 = "0.21.0"
|
||||||
bytesize = "1.0"
|
bytesize = "1.0"
|
||||||
cargo-platform = { path = "crates/cargo-platform", version = "0.1.2" }
|
cargo-platform = { path = "crates/cargo-platform", version = "0.1.2" }
|
||||||
cargo-util = { path = "crates/cargo-util", version = "0.2.4" }
|
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" }
|
crates-io = { path = "crates/crates-io", version = "0.36.0" }
|
||||||
curl = { version = "0.4.44", features = ["http2"] }
|
curl = { version = "0.4.44", features = ["http2"] }
|
||||||
curl-sys = "0.4.61"
|
curl-sys = "0.4.61"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
error: unexpected argument '--flag' found
|
error: unexpected argument '--flag' found
|
||||||
|
|
||||||
note: argument '--tag' exists
|
tip: a similar argument exists: '--tag'
|
||||||
|
|
||||||
Usage: cargo add [OPTIONS] <DEP>[@<VERSION>] ...
|
Usage: cargo add [OPTIONS] <DEP>[@<VERSION>] ...
|
||||||
cargo add [OPTIONS] --path <PATH> ...
|
cargo add [OPTIONS] --path <PATH> ...
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
error: unexpected argument '--flag' found
|
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>...
|
Usage: cargo[EXE] remove <DEP_ID>...
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
error: unexpected argument '--flag' found
|
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>
|
Usage: cargo[EXE] init <path>
|
||||||
|
|
||||||
|
|
|
@ -592,7 +592,7 @@ fn run_bins() {
|
||||||
"\
|
"\
|
||||||
error: unexpected argument '--bins' found
|
error: unexpected argument '--bins' found
|
||||||
|
|
||||||
note: argument '--bin' exists",
|
tip: a similar argument exists: '--bin'",
|
||||||
)
|
)
|
||||||
.run();
|
.run();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue