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 96007477f..4d93279c9 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
-  conf.cmd = cmdPretty
+  conf.setCmd cmdNimfix
   searchPaths.add options.libpath
   if gProjectFull.len != 0:
     # current path is always looked first for modules