summary refs log tree commit diff stats
path: root/compiler/nimfix/nimfix.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-11-26 15:55:56 -0800
committerGitHub <noreply@github.com>2020-11-26 15:55:56 -0800
commit52829fc8d1324c8192bc1674ff47e504648675fa (patch)
tree83919f869c1a8d2d257e4543ac2125fa23c545f4 /compiler/nimfix/nimfix.nim
parent9f1c5f64c5a9a3de5f4f39040b3df484de649ef2 (diff)
downloadNim-52829fc8d1324c8192bc1674ff47e504648675fa.tar.gz
cmdline: improve command processing (#16056)
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