Fix entries in nimc advopt (#17576)

This commit is contained in:
Danil Yarantsev
2021-03-30 09:04:17 +03:00
committed by GitHub
parent 159c06e045
commit 8db93fd0a2

View File

@@ -43,8 +43,9 @@ Advanced options:
--warning[X]:on|off turn specific warning X on|off
--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
--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
@@ -83,7 +84,8 @@ Advanced options:
if path == @default (the default and most useful), will use
best match among @pkg,@path.
if these are nonexistent, will use project path
-b, --backend:c|cpp|js|objc sets backend to use with commands like `nim doc` or `nim r`
-b, --backend:c|cpp|js|objc
sets backend to use with commands like `nim doc` or `nim r`
--docCmd:cmd if `cmd == skip`, skips runnableExamples
else, runs runnableExamples with given options, e.g.:
`--docCmd:"-d:foo --threads:on"`