summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-10-30 15:03:19 +0100
committerAraq <rumpf_a@web.de>2018-10-30 15:03:28 +0100
commite844e536bf29d3b18333d7ed4c53bb54b75a2d75 (patch)
treed06c43b70dc7de82355051579443a1b0d10d16c9 /doc
parent5c25b9389818925ec3697750c6cbcad3bf5c757b (diff)
downloadNim-e844e536bf29d3b18333d7ed4c53bb54b75a2d75.tar.gz
Nim style checker: document the switch; fixes #9564
Diffstat (limited to 'doc')
-rw-r--r--doc/advopt.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/advopt.txt b/doc/advopt.txt
index a1b709f04..252067129 100644
--- a/doc/advopt.txt
+++ b/doc/advopt.txt
@@ -25,6 +25,10 @@ Advanced options:
   --warning[X]:on|off       turn specific warning X on|off
   --hints:on|off|list       turn all hints on|off or list all available
   --hint[X]:on|off          turn specific hint X on|off
+  --styleCheck:off|hint|error
+                            produce hints or errors for Nim identifiers that
+                            do not adhere to Nim's official style guide
+                            https://nim-lang.org/docs/nep1.html
   --lib:PATH                set the system library path
   --import:PATH             add an automatically imported module
   --include:PATH            add an automatically included module