summary refs log tree commit diff stats
path: root/compiler/commands.nim
diff options
context:
space:
mode:
authorcooldome <ariabushenko@bk.ru>2018-04-26 23:56:43 +0100
committercooldome <ariabushenko@bk.ru>2018-04-26 23:56:43 +0100
commite2a4a43acc98743d0d2d4db1f9478f2582507dcf (patch)
tree1d011264c5ffcb5fd06c8331644ce3ae1ec62ffa /compiler/commands.nim
parenta95316f78bf3a785c441c5832b5b11c262ef70ce (diff)
parent397e1731393be598991df302006ec3634baa3583 (diff)
downloadNim-e2a4a43acc98743d0d2d4db1f9478f2582507dcf.tar.gz
Merge branch 'devel' into range_float_type
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r--compiler/commands.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim
index 591bf8883..06b487cf0 100644
--- a/compiler/commands.nim
+++ b/compiler/commands.nim
@@ -652,6 +652,7 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
   of "genscript", "gendeps":
     expectNoArg(switch, arg, pass, info)
     incl(gGlobalOptions, optGenScript)
+    incl(gGlobalOptions, optCompileOnly)
   of "colors": processOnOffSwitchG({optUseColors}, arg, pass, info)
   of "lib":
     expectArg(switch, arg, pass, info)