Skip to content

Commit

Permalink
Auto merge of #14726 - epage:zsh, r=weihanglo
Browse files Browse the repository at this point in the history
feat(complete): Include descriptions in zsh

### What does this PR try to resolve?

See clap-rs/clap#5775 for more details

### How should we test and review this PR?

If you're not a zsh user, you may need somthings like this to activate the completion system:

```shell
# See https://zsh.sourceforge.io/Doc/Release/Completion-System.html
autoload -Uz compinit
compinit
# and then source completion scripts
source <(CARGO_COMPLETE=zsh target/debug/cargo)
```

### Additional information
  • Loading branch information
bors committed Oct 24, 2024
2 parents e0fda67 + 56f008d commit 1a2df63
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ cargo-test-support = { version = "0.6.0", path = "crates/cargo-test-support" }
cargo-util = { version = "0.2.14", path = "crates/cargo-util" }
cargo-util-schemas = { version = "0.7.0", path = "crates/cargo-util-schemas" }
cargo_metadata = "0.18.1"
clap = "4.5.18"
clap_complete = { version = "4.5.32", features = ["unstable-dynamic"] }
clap = "4.5.20"
clap_complete = { version = "4.5.35", features = ["unstable-dynamic"] }
color-print = "0.3.6"
core-foundation = { version = "0.10.0", features = ["mac_os_10_7_support"] }
crates-io = { version = "0.40.4", path = "crates/crates-io" }
Expand Down

0 comments on commit 1a2df63

Please sign in to comment.