summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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