summary refs log tree commit diff stats
path: root/compiler/msgs.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-11 15:28:26 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-05-11 15:28:26 +0200
commit3c4ceea4272a8e9d817e16e71581f8fa15460a34 (patch)
tree12644c95f91c57118463c45d9af465dcd3b5a720 /compiler/msgs.nim
parenta8a544a8f716f98a8f20cd3baea5291d0de72a16 (diff)
downloadNim-3c4ceea4272a8e9d817e16e71581f8fa15460a34.tar.gz
move more global variables into ConfigRef
Diffstat (limited to 'compiler/msgs.nim')
-rw-r--r--compiler/msgs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
index 1efc3c944..d8e5a5c27 100644
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -400,7 +400,7 @@ proc quit(conf: ConfigRef; msg: TMsgKind) =
     else:
       styledMsgWriteln(fgRed, "No stack traceback available\n" &
           "To create a stacktrace, rerun compilation with ./koch temp " &
-          options.command & " <file>")
+          conf.command & " <file>")
   quit 1
 
 proc handleError(conf: ConfigRef; msg: TMsgKind, eh: TErrorHandling, s: string) =