summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorFrederick Zhang <frederick888@tsundere.moe>2017-01-07 20:54:48 +1100
committerFrederick Zhang <frederick888@tsundere.moe>2018-09-24 18:02:50 +1000
commitb9533ccac2846d74693158eef1759d198231a79b (patch)
tree5fbe3ec894d23e7caad7ba737834c99cd55a2653 /plugins
parentda30a1d6d2709d768c68de122d6d0ab96c5a9a90 (diff)
downloadzsh-b9533ccac2846d74693158eef1759d198231a79b.tar.gz
zsh-b9533ccac2846d74693158eef1759d198231a79b.tar.bz2
zsh-b9533ccac2846d74693158eef1759d198231a79b.zip
complete --message-format
Diffstat (limited to 'plugins')
-rw-r--r--plugins/cargo/_cargo6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/cargo/_cargo b/plugins/cargo/_cargo
index 99eac2bdb..7ed95c0ce 100644
--- a/plugins/cargo/_cargo
+++ b/plugins/cargo/_cargo
@@ -34,6 +34,7 @@ case $state in
'--target=[target triple]: :_get_targets' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
'(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
+ '--message-format=[error format]:format option:(human json)' \
'--color=[coloring]:colorization option:(auto always never)' \
;;
@@ -51,6 +52,7 @@ case $state in
'--target=[target triple]: :_get_targets' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
'(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
+ '--message-format=[error format]:format option:(human json)' \
'--color=[coloring]:colorization option:(auto always never)' \
;;
@@ -259,12 +261,14 @@ case $state in
'--release=[build in release mode]' \
'--target=[target triple]' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
+ '--message-format=[error format]:format option:(human json)' \
'--color=[coloring]:colorization option:(auto always never)' \
'*: :_normal' \
;;
rustc)
_arguments \
+ '--message-format=[error format]:format option:(human json)' \
'--color=[coloring]:colorization option:(auto always never)' \
'--features=[features to compile for the package]' \
'--all-features[enable all available features]' \
@@ -283,6 +287,7 @@ case $state in
rustdoc)
_arguments \
+ '--message-format=[error format]:format option:(human json)' \
'--color=[coloring]:colorization option:(auto always never)' \
'--features=[space-separated list of features to also build]' \
'--all-features[enable all available features]' \
@@ -325,6 +330,7 @@ case $state in
'--release[build artifacts in release mode, with optimizations]' \
'--target=[target triple]: :_get_targets' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
+ '--message-format=[error format]:format option:(human json)' \
'--color=[coloring]:colorization option:(auto always never)' \
'1: :_test_names' \
;;