Fixed description as option in advopt.txt (#19635)
* Fixed formatting error in warningAsError. There was only a single space character between the warning and its description, so it shows up as part of the name (in bold) and with no description. Copied the way hotCodeReloading was formatted, with the description in a new line. Also changed descriptions from 'ditto' to what the description it references says. * Fixed typo in advopt.txt Corrected 'hints' to 'warnings' in updated advopt.txt.
This commit is contained in:
parent
84ac003519
commit
86e93eb293
1 changed files with 7 additions and 3 deletions
|
|
@ -55,9 +55,13 @@ Advanced options:
|
|||
(only `all:off` is supported).
|
||||
--hintAsError:X:on|off turn specific hint X into an error on|off
|
||||
-w:on|off|list, --warnings:on|off|list
|
||||
same as `--hints` but for warnings.
|
||||
--warning:X:on|off ditto
|
||||
--warningAsError:X:on|off ditto
|
||||
`on|off` enables or disables warnings.
|
||||
`list` reports which warnings are selected.
|
||||
--warning:X:on|off turn specific warning X on|off. `warning:X` means `warning:X:on`,
|
||||
as with similar flags. `all` is the set of all warning
|
||||
(only `all:off` is supported).
|
||||
--warningAsError:X:on|off
|
||||
turn specific warning 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue