updated the documentation (#17796)

This commit is contained in:
Andreas Rumpf 2021-04-20 15:24:20 +02:00 • committed by GitHub
commit 54fe44135e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -7,7 +7,7 @@
# distribution, for details about the copyright. # distribution, for details about the copyright.
# #
## Supports the "nim check --ic:on --def --track:FILE,LINE,COL" ## Supports the "nim check --ic:on --defusages:FILE,LINE,COL"
## IDE-like features. It uses the set of .rod files to accomplish ## IDE-like features. It uses the set of .rod files to accomplish
## its task. The set must cover a complete Nim project. ## its task. The set must cover a complete Nim project.

View file

@ -14,8 +14,8 @@ Advanced commands:
module dependency graph module dependency graph
//dump dump all defined conditionals and search paths //dump dump all defined conditionals and search paths
see also: --dump.format:json (useful with: `| jq`) see also: --dump.format:json (useful with: `| jq`)
//check checks the project for syntax and semantic //check checks the project for syntax and semantics
(can be combined with --track and --defusages) (can be combined with --defusages)
Runtime checks (see -x): Runtime checks (see -x):
--objChecks:on|off turn obj conversion checks on|off --objChecks:on|off turn obj conversion checks on|off
@ -28,8 +28,8 @@ Runtime checks (see -x):
--infChecks:on|off turn Inf checks on|off --infChecks:on|off turn Inf checks on|off
Advanced options: Advanced options:
--track:FILE,LINE,COL set the tracking position for (--defusages) --defusages:FILE,LINE,COL
--defusages find the definition and all usages of a symbol find the definition and all usages of a symbol
-o:FILE, --out:FILE set the output filename -o:FILE, --out:FILE set the output filename
--outdir:DIR set the path where the output file will be written --outdir:DIR set the path where the output file will be written
--usenimcache will use `outdir=$$nimcache`, whichever it resolves --usenimcache will use `outdir=$$nimcache`, whichever it resolves