summary refs log tree commit diff stats
path: root/compiler/commands.nim
diff options
context:
space:
mode:
authorRyan Gonzalez <rymg19@gmail.com>2015-05-31 18:05:34 -0500
committerRyan Gonzalez <rymg19@gmail.com>2015-06-02 18:47:43 -0500
commit8beed9610640495185e8dce55ca1efe13a7705fd (patch)
tree03f5cbfc478d6ff0ab61f1aa1e70eef12637f8f4 /compiler/commands.nim
parent6820b2fea919c033405e7e204343fddd947c2ef3 (diff)
downloadNim-8beed9610640495185e8dce55ca1efe13a7705fd.tar.gz
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)