summary refs log tree commit diff stats
path: root/doc/advopt.txt
diff options
context:
space:
mode:
authorJacek Sieka <arnetheduck@gmail.com>2019-03-04 03:49:56 -0600
committerAndreas Rumpf <rumpf_a@web.de>2019-03-04 10:49:55 +0100
commit7072e3ddca3ae794dd17e352279f70805278ba6d (patch)
tree6304d3c7df5560be6ed81c05ec1f05c6ed619036 /doc/advopt.txt
parent1d9b88f25d8c278123133773f83fd9ce81685bac (diff)
downloadNim-7072e3ddca3ae794dd17e352279f70805278ba6d.tar.gz
doc: move specific checks to advanced options, for a less intimidatin… (#10779)
* doc: move specific checks to advanced options, for a less intimidating help

* remove useless bool
Diffstat (limited to 'doc/advopt.txt')
-rw-r--r--doc/advopt.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/advopt.txt b/doc/advopt.txt
index b0c23e391..4dd710107 100644
--- a/doc/advopt.txt
+++ b/doc/advopt.txt
@@ -16,6 +16,17 @@ Advanced commands:
                             see also: --dump.format:json (useful with: ` | jq`)
   //check                   checks the project for syntax and semantic
 
+Runtime checks (see -x):
+  --objChecks:on|off        turn obj conversion checks on|off
+  --fieldChecks:on|off      turn case variant field checks on|off
+  --rangeChecks:on|off      turn range checks on|off
+  --boundChecks:on|off      turn bound checks on|off
+  --overflowChecks:on|off   turn int over-/underflow checks on|off
+  --floatChecks:on|off      turn all floating point (NaN/Inf) checks on|off
+  --nanChecks:on|off        turn NaN checks on|off
+  --infChecks:on|off        turn Inf checks on|off
+  --nilChecks:on|off        turn nil checks on|off
+
 Advanced options:
   -o:FILE, --out:FILE       set the output filename
   --outdir:DIR              set the path where the output file will be written
@@ -109,7 +120,6 @@ Advanced options:
   --errorMax:N              stop compilation after N errors; 0 means unlimited
   --experimental:$1
                             enable experimental language feature
-  -v, --version             show detailed version information
   --profiler:on|off         Enable profiling; requires `import nimprof`, and
                             works better with `--stackTrace:on`
                             see also https://nim-lang.github.io/Nim/estp.html