summaryrefslogtreecommitdiff
path: root/plugins/rust
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2018-05-20 13:00:53 -0600
committerTuowen Zhao <ztuowen@gmail.com>2018-05-20 13:00:53 -0600
commitdb38c7c3b2921783d955912262f87ee7dd8cd31b (patch)
tree19711b0495e8472fdfb85643c2c7ec7c5a5229c3 /plugins/rust
parent1481f7aa67df42bdf45953231637194ac200d240 (diff)
parenta600ab4b8578ca0a8e6c6dae0373033b9d8c201c (diff)
downloadzsh-db38c7c3b2921783d955912262f87ee7dd8cd31b.tar.gz
zsh-db38c7c3b2921783d955912262f87ee7dd8cd31b.tar.bz2
zsh-db38c7c3b2921783d955912262f87ee7dd8cd31b.zip
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/rust')
-rw-r--r--plugins/rust/_rust4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/rust/_rust b/plugins/rust/_rust
index ac6aee160..6e3f344cd 100644
--- a/plugins/rust/_rust
+++ b/plugins/rust/_rust
@@ -88,14 +88,14 @@ _rustc_opts_vals=(
--pretty='[Pretty-print the input instead of compiling]::TYPE:_values "TYPES" "$_rustc_pretty_types[@]"'
--unpretty='[Present the input source, unstable (and less-pretty)]::TYPE:_values "TYPES" "$_rustc_unpretty_types[@]"'
--color='[Configure coloring of output]:CONF:_values "COLORS" "$_rustc_color_types[@]"'
- {-v,--version}'[Print version info and exit]::VERBOSE:(verbose)'
)
_rustc_opts_switches=(
-g'[Equivalent to --debuginfo=2]'
-O'[Equivalent to --opt-level=2]'
--test'[Build a test harness]'
- --verbose'[Use verbose output]'
+ {-v,--verbose}'[Use verbose output]'
+ {-V,--version}'[Print version info and exit]'
{-h,--help}'[Display this message]'
--no-analysis'[Parse and expand the output, but run no analysis or produce output]'
--no-trans'[Run all passes except translation; no output]'