diff options
author | Danil Yarantsev <tiberiumk12@gmail.com> | 2021-03-30 09:04:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-30 08:04:17 +0200 |
commit | 8db93fd0a29dbb950cc14327b31d683c3b0d8926 (patch) | |
tree | 7b076fd0bd23e08a6d0ff315a2df7da0a89257ca | |
parent | 159c06e0451f85842b2168886565fa57496a2c68 (diff) | |
download | Nim-8db93fd0a29dbb950cc14327b31d683c3b0d8926.tar.gz |
Fix entries in nimc advopt (#17576)
-rw-r--r-- | doc/advopt.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/advopt.txt b/doc/advopt.txt index 108c07222..763ac80a6 100644 --- a/doc/advopt.txt +++ b/doc/advopt.txt @@ -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"` |