summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-06-24 19:50:51 +0200
committerAdam Strzelecki <ono@java.pl>2015-06-24 19:57:56 +0200
commit67fac7f1e7f40d49a985970e67a90dcfaf6ea433 (patch)
tree20a4b73c4eaa51e40b518a4097b8c8a94b4c911b /doc
parent5ee4b1bf2dc335e8830e2bae50268d39ba8e686b (diff)
downloadNim-67fac7f1e7f40d49a985970e67a90dcfaf6ea433.tar.gz
Change --useColors to --colors:on|off and add help
Since we introduced automatic colors on terminals (via isatty) there is no way
to turn it off, since (undocumented) --useColors just turns them on.

This replaces --useColors with --colors:on|off, so anyone who prefers
non-colored compiler messages may now turn it off now.
Diffstat (limited to 'doc')
-rw-r--r--doc/advopt.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/advopt.txt b/doc/advopt.txt
index a4f72e2d8..04ffce5b5 100644
--- a/doc/advopt.txt
+++ b/doc/advopt.txt
@@ -16,6 +16,7 @@ Advanced commands:
 Advanced options:
   -o, --out:FILE            set the output filename
   --stdout                  output to stdout
+  --colors:on|off           turn compiler messages coloring on|off
   --listFullPaths           list full paths in messages
   -w, --warnings:on|off     turn all warnings on|off
   --warning[X]:on|off       turn specific warning X on|off