summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-09-29 20:44:12 +0200
committerAraq <rumpf_a@web.de>2015-09-29 20:44:12 +0200
commit1b7d8246c13c48ba8037321a000d5688a8bdb5fe (patch)
treef20a16f306b295f2f4904617aaea355859c4beba /lib
parent27bdf5c45c7850f62ae573fdcd86e8490a2bec15 (diff)
downloadNim-1b7d8246c13c48ba8037321a000d5688a8bdb5fe.tar.gz
NimScript: setCommand takes an optional project filename
Diffstat (limited to 'lib')
-rw-r--r--lib/system/nimscript.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/nimscript.nim b/lib/system/nimscript.nim
index 4841749a9..a93c65dd4 100644
--- a/lib/system/nimscript.nim
+++ b/lib/system/nimscript.nim
@@ -56,7 +56,7 @@ proc getCommand*(): string =
   ## "c", "js", "build", "help".
   builtin
 
-proc setCommand*(cmd: string) =
+proc setCommand*(cmd: string; project="") =
   ## Sets the Nim command that should be continued with after this Nimscript
   ## has finished.
   builtin