summary refs log tree commit diff stats
path: root/compiler/commands.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-06-10 11:08:22 +0200
committerAndreas Rumpf <rumpf_a@web.de>2015-06-10 11:08:22 +0200
commit258bfa886a717bacb5c0a572f0f83f6a2a192120 (patch)
tree5ee5a533f46d70e9f9bd77749ba29dfdc822c0b5 /compiler/commands.nim
parentf3e7e5fc13a30f80b26ed20e0f29bc39f6450917 (diff)
parentd4d5f95808f0db59dd46a6793fd35d8a32f693fb (diff)
downloadNim-258bfa886a717bacb5c0a572f0f83f6a2a192120.tar.gz
Merge pull request #2852 from kirbyfan64/devel
Colors!
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r--compiler/commands.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim
index d30d8326c..285d73e7a 100644
--- a/compiler/commands.nim
+++ b/compiler/commands.nim
@@ -532,6 +532,9 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo) =
   of "genscript":
     expectNoArg(switch, arg, pass, info)
     incl(gGlobalOptions, optGenScript)
+  of "usecolors":
+    expectNoArg(switch, arg, pass, info)
+    incl(gGlobalOptions, optUseColors)
   of "lib":
     expectArg(switch, arg, pass, info)
     libpath = processPath(arg, notRelativeToProj=true)