Skip to content

Commit e0dfa38

Browse files
committed
Auto merge of #14573 - epage:complete, r=weihanglo
feat(complete): Upgrade clap_complete Changes: - Change completion order to subcommands, positional values, flags - When completing `-[TAB]`, prioritize shorts over longs - De-duplicate completions that have the same result (longs, shorts, aliases) - Group candidates from the same `CompletionCandidate::tag` - Sort candidates within a `CompletionCandidate::tag` by their `display_order`
2 parents eaee77d + 86a1ff3 commit e0dfa38

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ cargo-test-support = { version = "0.4.0", path = "crates/cargo-test-support" }
3535
cargo-util = { version = "0.2.14", path = "crates/cargo-util" }
3636
cargo-util-schemas = { version = "0.6.0", path = "crates/cargo-util-schemas" }
3737
cargo_metadata = "0.18.1"
38-
clap = "4.5.17"
39-
clap_complete = { version = "4.5.28", features = ["unstable-dynamic"] }
38+
clap = "4.5.18"
39+
clap_complete = { version = "4.5.29", features = ["unstable-dynamic"] }
4040
color-print = "0.3.6"
4141
completest-pty = "0.5.3"
4242
core-foundation = { version = "0.10.0", features = ["mac_os_10_7_support"] }

0 commit comments

Comments
 (0)