summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwarmist2012-09-26 08:39:07 +0300
committerwarmist2012-09-26 08:39:07 +0300
commitac9e78a6130d896510f186cc8f8ed5046cac45be (patch)
tree46a3a899df3b60aa3a02e1442d385afe94c48893
parent821271383ed024dbcef469043ade36790cde89fe (diff)
downloaddfhack-ac9e78a6130d896510f186cc8f8ed5046cac45be.tar.gz
dfhack-ac9e78a6130d896510f186cc8f8ed5046cac45be.tar.bz2
dfhack-ac9e78a6130d896510f186cc8f8ed5046cac45be.tar.xz
Fixed dfhack.interpreter argument order
The argument order was incorrect. See: https://github.com/angavrilov/dfhack/blob/master/library/lua/dfhack.lua#L222
-rw-r--r--LUA_API.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUA_API.rst b/LUA_API.rst
index b098aa05..f532d221 100644
--- a/LUA_API.rst
+++ b/LUA_API.rst
@@ -488,7 +488,7 @@ Input & Output
lock. Using an explicit ``dfhack.with_suspend`` will prevent
this, forcing the function to block on input with lock held.
-* ``dfhack.interpreter([prompt[,env[,history_filename]]])``
+* ``dfhack.interpreter([prompt[,history_filename[,env]]])``
Starts an interactive lua interpreter, using the specified prompt
string, global environment and command-line history file.