summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--compiler/commands.nim4
-rw-r--r--doc/advopt.txt4
-rw-r--r--doc/basicopt.txt10
3 files changed, 9 insertions, 9 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim
index a76a5be73..17124a759 100644
--- a/compiler/commands.nim
+++ b/compiler/commands.nim
@@ -59,8 +59,8 @@ proc genFeatureDesc[T: enum](t: typedesc[T]): string {.compileTime.} =
     result.add $f
 
 const
-  Usage = slurp"../doc/basicopt.txt".replace(" //", " ")
-  AdvancedUsage = slurp"../doc/advopt.txt".replace(" //", " ") % [genFeatureDesc(Feature), genFeatureDesc(LegacyFeature)]
+  Usage = slurp"../doc/basicopt.txt".replace(" //", "   ")
+  AdvancedUsage = slurp"../doc/advopt.txt".replace(" //", "   ") % [genFeatureDesc(Feature), genFeatureDesc(LegacyFeature)]
 
 proc getCommandLineDesc(conf: ConfigRef): string =
   result = (HelpMessage % [VersionAsString, platform.OS[conf.target.hostOS].name,
diff --git a/doc/advopt.txt b/doc/advopt.txt
index 9b7f29a5e..8b906298d 100644
--- a/doc/advopt.txt
+++ b/doc/advopt.txt
@@ -11,9 +11,9 @@ Advanced commands:
   //ctags                   create a tags file
   //buildIndex              build an index for the whole documentation
   //genDepend               generate a DOT file containing the
-                          module dependency graph
+                            module dependency graph
   //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
 
 Runtime checks (see -x):
diff --git a/doc/basicopt.txt b/doc/basicopt.txt
index cdd8ab9be..7ea55cf6c 100644
--- a/doc/basicopt.txt
+++ b/doc/basicopt.txt
@@ -3,11 +3,11 @@
     nim command [options] [projectfile] [arguments]
 
 Command:
-  //compile, c                compile project with default code generator (C)
-  //r                         compile to $nimcache/projname, run with [arguments]
-                              using backend specified by `--backend` (default: c)
-  //doc                       generate the documentation for inputfile for
-                              backend specified by `--backend` (default: c)
+  //compile, c              compile project with default code generator (C)
+  //r                       compile to $nimcache/projname, run with [arguments]
+                            using backend specified by `--backend` (default: c)
+  //doc                     generate the documentation for inputfile for
+                            backend specified by `--backend` (default: c)
 
 Arguments:
   arguments are passed to the program being run (if --run option is selected)