mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-03 02:18:00 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user