Skip to content

Commit b862c6d

Browse files
committed
Auto merge of #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.
2 parents ca0557a + 8fb9eff commit b862c6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ toml_edit = { version = "0.15.0", features = ["serde", "easy", "perf"] }
7070
unicode-xid = "0.2.0"
7171
url = "2.2.2"
7272
walkdir = "2.2"
73-
clap = "4.1.1"
73+
clap = "4.1.3"
7474
unicode-width = "0.1.5"
7575
openssl = { version = '0.10.11', optional = true }
7676
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)