summary refs log tree commit diff stats
path: root/compiler/commands.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r--compiler/commands.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim
index 5b8f569ac..20727966b 100644
--- a/compiler/commands.nim
+++ b/compiler/commands.nim
@@ -473,10 +473,10 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
     processOnOffSwitch({optMemTracker}, arg, pass, info)
     if optMemTracker in gOptions: defineSymbol("memtracker")
     else: undefSymbol("memtracker")
-  of "hotreloading":
-    processOnOffSwitch({optHotReloading}, arg, pass, info)
-    if optHotReloading in gOptions: defineSymbol("hotreloading")
-    else: undefSymbol("hotreloading")
+  of "hotcodereloading":
+    processOnOffSwitch({optHotCodeReloading}, arg, pass, info)
+    if optHotCodeReloading in gOptions: defineSymbol("hotcodereloading")
+    else: undefSymbol("hotcodereloading")
   of "oldnewlines":
     case arg.normalize
     of "on":