Fix entries in nimc advopt (#17576)

This commit is contained in:
Danil Yarantsev 2021-03-30 09:04:17 +03:00 • committed by GitHub
commit 8db93fd0a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,8 +43,9 @@ Advanced options:
--warning[X]:on|off turn specific warning X on|off --warning[X]:on|off turn specific warning X on|off
--hints:on|off|list turn all hints on|off or list all available --hints:on|off|list turn all hints on|off or list all available
--hint[X]:on|off turn specific hint X 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 --warningAsError[X]:on|off
--hintAsError[X]:on|off turn specific hint X into an error 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 --styleCheck:off|hint|error
produce hints or errors for Nim identifiers that produce hints or errors for Nim identifiers that
do not adhere to Nim's official style guide 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 if path == @default (the default and most useful), will use
best match among @pkg,@path. best match among @pkg,@path.
if these are nonexistent, will use project 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 --docCmd:cmd if `cmd == skip`, skips runnableExamples
else, runs runnableExamples with given options, e.g.: else, runs runnableExamples with given options, e.g.:
`--docCmd:"-d:foo --threads:on"` `--docCmd:"-d:foo --threads:on"`