mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
Correctly handle verbose/version flags for rustc (#6786)
See the help output for rustc (v1.25)
This commit is contained in:
parent
493c30954b
commit
cafa657469
1 changed files with 2 additions and 2 deletions
|
@ -88,14 +88,14 @@ _rustc_opts_vals=(
|
||||||
--pretty='[Pretty-print the input instead of compiling]::TYPE:_values "TYPES" "$_rustc_pretty_types[@]"'
|
--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[@]"'
|
--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[@]"'
|
--color='[Configure coloring of output]:CONF:_values "COLORS" "$_rustc_color_types[@]"'
|
||||||
{-v,--version}'[Print version info and exit]::VERBOSE:(verbose)'
|
|
||||||
)
|
)
|
||||||
|
|
||||||
_rustc_opts_switches=(
|
_rustc_opts_switches=(
|
||||||
-g'[Equivalent to --debuginfo=2]'
|
-g'[Equivalent to --debuginfo=2]'
|
||||||
-O'[Equivalent to --opt-level=2]'
|
-O'[Equivalent to --opt-level=2]'
|
||||||
--test'[Build a test harness]'
|
--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]'
|
{-h,--help}'[Display this message]'
|
||||||
--no-analysis'[Parse and expand the output, but run no analysis or produce output]'
|
--no-analysis'[Parse and expand the output, but run no analysis or produce output]'
|
||||||
--no-trans'[Run all passes except translation; no output]'
|
--no-trans'[Run all passes except translation; no output]'
|
||||||
|
|
Loading…
Reference in a new issue