summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2015-02-16 17:33:15 +0000
committerDominik Picheta <dominikpicheta@googlemail.com>2015-02-16 17:33:15 +0000
commit3fec9623d7487fff08c7ba100bae7fef0452a132 (patch)
tree02e3e2455de973e8fad8e6a67f60f66ca7604de8
parentc11fa7942e53655cc38527b0b87aaf4949d92d05 (diff)
parent9f5a61c3bca65436339602558359d2635fd6b636 (diff)
downloadNim-3fec9623d7487fff08c7ba100bae7fef0452a132.tar.gz
Merge pull request #2149 from def-/stacktrace-msg
Tell user more exactly how to create stacktrace
-rw-r--r--compiler/msgs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
index 45fc2b1e2..47c730925 100644
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -723,7 +723,7 @@ proc handleError(msg: TMsgKind, eh: TErrorHandling, s: string) =
       if stackTraceAvailable():
         writeStackTrace()
       else:
-        msgWriteln("No stack traceback available\nTo create a stacktrace, rerun compilation with ./koch temp c <file>")
+        msgWriteln("No stack traceback available\nTo create a stacktrace, rerun compilation with ./koch temp " & options.command & " <file>")
     quit 1
 
   if msg >= fatalMin and msg <= fatalMax: