mirror of
https://github.com/rust-lang/cargo
synced 2024-10-12 10:42:24 +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"
|
||||
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"
|
||||
|
|
|
@ -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> ...
|
||||
|
|
|
@ -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>...
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -592,7 +592,7 @@ fn run_bins() {
|
|||
"\
|
||||
error: unexpected argument '--bins' found
|
||||
|
||||
note: argument '--bin' exists",
|
||||
tip: a similar argument exists: '--bin'",
|
||||
)
|
||||
.run();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue