diff options
author | bjorn3 <bjorn3@users.noreply.github.com> | 2017-11-01 14:04:03 +0100 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2017-11-01 06:04:03 -0700 |
commit | e8e7bf3b892ef69aac97c171d02b4b026322dcec (patch) | |
tree | 4ed6b0e115f7aeb3a6978e67aa68102958f4039f /plugins/cargo/_cargo | |
parent | 2102d10896fe14e912ed6ed8075bb0ddd3a5bc6a (diff) | |
download | zsh-e8e7bf3b892ef69aac97c171d02b4b026322dcec.tar.gz zsh-e8e7bf3b892ef69aac97c171d02b4b026322dcec.tar.bz2 zsh-e8e7bf3b892ef69aac97c171d02b4b026322dcec.zip |
Update rust plugin for latest rustc (#6342)
* Update for latest rustc
* Some debug option updates
* Add some cargo flags
* Fix bug in cargo plugin
Diffstat (limited to 'plugins/cargo/_cargo')
-rw-r--r-- | plugins/cargo/_cargo | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/cargo/_cargo b/plugins/cargo/_cargo index 175859202..54e709ca0 100644 --- a/plugins/cargo/_cargo +++ b/plugins/cargo/_cargo @@ -7,10 +7,13 @@ _cargo() { _arguments \ '(- 1 *)'{-h,--help}'[show help message]' \ + '(- 1 *)'{-V,--version}'[show version information]' \ '(- 1 *)'--list'[list installed commands]' \ + '(- 1 *)'--explain'[Run `rustc --explain CODE`]' \ '(- 1 *)'{-v,--verbose}'[use verbose output]' \ '(- 1 *)'--color'[colorization option]' \ - '(- 1 *)'{-V,--version}'[show version information]' \ + '(- 1 *)'--frozen'[Require Cargo.lock and cache are up to date]' \ + '(- 1 *)'--locked'[Require Cargo.lock is up to date]' \ '1: :_cargo_cmds' \ '*:: :->args' |