Skip to content

Commit f19479a

Browse files
borsweihanglo
authored andcommitted
Auto merge of rust-lang#11619 - epage:test, r=ehuss
test: Update for clap 4.1.3 The latest clap release fixed a bug with the algorithm for providing suggestions, leading this suggestion to change.
1 parent bd3c324 commit f19479a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ toml_edit = { version = "0.15.0", features = ["serde", "easy", "perf"] }
6868
unicode-xid = "0.2.0"
6969
url = "2.2.2"
7070
walkdir = "2.2"
71-
clap = "4.1.1"
71+
clap = "4.1.3"
7272
unicode-width = "0.1.5"
7373
openssl = { version = '0.10.11', optional = true }
7474
im-rc = "15.0.0"

tests/testsuite/cargo_add/invalid_arg/stderr.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
error: unexpected argument '--flag' found
22

3-
note: to pass '--flag' as a value, use '-- --flag'
3+
note: argument '--tag' exists
44

55
Usage: cargo add [OPTIONS] <DEP>[@<VERSION>] ...
66
cargo add [OPTIONS] --path <PATH> ...

0 commit comments

Comments
 (0)