summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2021-04-20 15:24:20 +0200
committerGitHub <noreply@github.com>2021-04-20 15:24:20 +0200
commit54fe44135ee447c167b4a3a2d6ec5ff7855688ea (patch)
treee4d25de1cef767d4fc3733e2b420866435271ba4
parent4742e6e1fdc6cebd3052875748fa10ad44c8a42e (diff)
downloadNim-54fe44135ee447c167b4a3a2d6ec5ff7855688ea.tar.gz
updated the documentation (#17796)
-rw-r--r--compiler/ic/navigator.nim2
-rw-r--r--doc/advopt.txt8
2 files changed, 5 insertions, 5 deletions
diff --git a/compiler/ic/navigator.nim b/compiler/ic/navigator.nim
index cedf41579..6af2c2ac0 100644
--- a/compiler/ic/navigator.nim
+++ b/compiler/ic/navigator.nim
@@ -7,7 +7,7 @@
 #    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
 ## its task. The set must cover a complete Nim project.
 
diff --git a/doc/advopt.txt b/doc/advopt.txt
index c7b63d50f..bfc381cff 100644
--- a/doc/advopt.txt
+++ b/doc/advopt.txt
@@ -14,8 +14,8 @@ Advanced commands:
                             module dependency graph
   //dump                    dump all defined conditionals and search paths
                             see also: --dump.format:json (useful with: `| jq`)
-  //check                   checks the project for syntax and semantic
-                            (can be combined with --track and --defusages)
+  //check                   checks the project for syntax and semantics
+                            (can be combined with --defusages)
 
 Runtime checks (see -x):
   --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
 
 Advanced options:
-  --track:FILE,LINE,COL     set the tracking position for (--defusages)
-  --defusages               find the definition and all usages of a symbol
+  --defusages:FILE,LINE,COL
+                            find the definition and all usages of a symbol
   -o:FILE, --out:FILE       set the output filename
   --outdir:DIR              set the path where the output file will be written
   --usenimcache             will use `outdir=$$nimcache`, whichever it resolves