summary refs log tree commit diff stats
path: root/compiler/nimfix/nimfix.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/nimfix/nimfix.nim')
-rw-r--r--compiler/nimfix/nimfix.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nimfix/nimfix.nim b/compiler/nimfix/nimfix.nim
index 2ef375b00..c3e29f9a1 100644
--- a/compiler/nimfix/nimfix.nim
+++ b/compiler/nimfix/nimfix.nim
@@ -38,7 +38,7 @@ In addition, all command line options of Nim are supported.
 proc mainCommand =
   registerPass verbosePass
   registerPass semPass
-  gCmd = cmdPretty
+  conf.cmd = cmdPretty
   searchPaths.add options.libpath
   if gProjectFull.len != 0:
     # current path is always looked first for modules