Commit b9533cca authored by Frederick Zhang's avatar Frederick Zhang
Browse files

complete --message-format

parent da30a1d6
...@@ -34,6 +34,7 @@ case $state in ...@@ -34,6 +34,7 @@ case $state in
'--target=[target triple]: :_get_targets' \ '--target=[target triple]: :_get_targets' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \ '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
'(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \ '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
'--message-format=[error format]:format option:(human json)' \
'--color=[coloring]:colorization option:(auto always never)' \ '--color=[coloring]:colorization option:(auto always never)' \
;; ;;
...@@ -51,6 +52,7 @@ case $state in ...@@ -51,6 +52,7 @@ case $state in
'--target=[target triple]: :_get_targets' \ '--target=[target triple]: :_get_targets' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \ '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
'(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \ '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
'--message-format=[error format]:format option:(human json)' \
'--color=[coloring]:colorization option:(auto always never)' \ '--color=[coloring]:colorization option:(auto always never)' \
;; ;;
...@@ -259,12 +261,14 @@ case $state in ...@@ -259,12 +261,14 @@ case $state in
'--release=[build in release mode]' \ '--release=[build in release mode]' \
'--target=[target triple]' \ '--target=[target triple]' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \ '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
'--message-format=[error format]:format option:(human json)' \
'--color=[coloring]:colorization option:(auto always never)' \ '--color=[coloring]:colorization option:(auto always never)' \
'*: :_normal' \ '*: :_normal' \
;; ;;
rustc) rustc)
_arguments \ _arguments \
'--message-format=[error format]:format option:(human json)' \
'--color=[coloring]:colorization option:(auto always never)' \ '--color=[coloring]:colorization option:(auto always never)' \
'--features=[features to compile for the package]' \ '--features=[features to compile for the package]' \
'--all-features[enable all available features]' \ '--all-features[enable all available features]' \
...@@ -283,6 +287,7 @@ case $state in ...@@ -283,6 +287,7 @@ case $state in
rustdoc) rustdoc)
_arguments \ _arguments \
'--message-format=[error format]:format option:(human json)' \
'--color=[coloring]:colorization option:(auto always never)' \ '--color=[coloring]:colorization option:(auto always never)' \
'--features=[space-separated list of features to also build]' \ '--features=[space-separated list of features to also build]' \
'--all-features[enable all available features]' \ '--all-features[enable all available features]' \
...@@ -325,6 +330,7 @@ case $state in ...@@ -325,6 +330,7 @@ case $state in
'--release[build artifacts in release mode, with optimizations]' \ '--release[build artifacts in release mode, with optimizations]' \
'--target=[target triple]: :_get_targets' \ '--target=[target triple]: :_get_targets' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \ '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
'--message-format=[error format]:format option:(human json)' \
'--color=[coloring]:colorization option:(auto always never)' \ '--color=[coloring]:colorization option:(auto always never)' \
'1: :_test_names' \ '1: :_test_names' \
;; ;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment