change --hint[X] => --hint:X in nim repo (avoids shell quoting issues) (#18085)
This commit is contained in:
parent
0b2bbcaa23
commit
3b1aabdcff
15 changed files with 25 additions and 25 deletions
|
|
@ -47,12 +47,12 @@ Advanced options:
|
|||
an implementation defined set of suggestions.
|
||||
-w:on|off|list, --warnings:on|off|list
|
||||
turn all warnings on|off or list all available
|
||||
--warning[X]:on|off turn specific warning X on|off
|
||||
--warning:X:on|off turn specific warning X on|off.
|
||||
`warning:X` means `warning:X:on`, as with similar flags.
|
||||
--hints:on|off|list turn all hints on|off or list all available
|
||||
--hint[X]:on|off turn specific hint X on|off
|
||||
--warningAsError[X]:on|off
|
||||
turn specific warning X into an error on|off
|
||||
--hintAsError[X]:on|off turn specific hint X into an error on|off
|
||||
--hint:X:on|off turn specific hint X on|off.
|
||||
--warningAsError:X:on|off turn specific warning X into an error on|off
|
||||
--hintAsError:X:on|off turn specific hint X into an error on|off
|
||||
--styleCheck:off|hint|error
|
||||
produce hints or errors for Nim identifiers that
|
||||
do not adhere to Nim's official style guide
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ just like an ordinary procedure call with named or positional arguments. The
|
|||
available parameters depend on the invoked filter. Before version 0.12.0 of
|
||||
the language `#!` was used instead of `#?`.
|
||||
|
||||
**Hint:** With `--hint[codeBegin]:on`:option: or `--verbosity:2`:option:
|
||||
**Hint:** With `--hint:codeBegin:on`:option: or `--verbosity:2`:option:
|
||||
(or higher) while compiling or `nim check`:cmd:, Nim lists the processed code after
|
||||
each filter application.
|
||||
|
||||
|
|
|
|||
|
|
@ -53,8 +53,8 @@ Advanced command-line switches are:
|
|||
List of warnings
|
||||
----------------
|
||||
|
||||
Each warning can be activated individually with `--warning[NAME]:on|off`:option: or
|
||||
in a `push` pragma.
|
||||
Each warning can be activated individually with `--warning:NAME:on|off`:option: or
|
||||
in a `push` pragma with `{.warning[NAME]:on|off.}`.
|
||||
|
||||
========================== ============================================
|
||||
Name Description
|
||||
|
|
@ -77,8 +77,8 @@ User Some user-defined warning.
|
|||
List of hints
|
||||
-------------
|
||||
|
||||
Each hint can be activated individually with `--hint[NAME]:on|off`:option: or in a
|
||||
`push` pragma.
|
||||
Each hint can be activated individually with `--hint:NAME:on|off`:option: or in a
|
||||
`push` pragma with `{.hint[NAME]:on|off.}`.
|
||||
|
||||
========================== ============================================
|
||||
Name Description
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue