summaryrefslogtreecommitdiff
path: root/Lua API.html
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-09-27 11:19:28 +0400
committerAlexander Gavrilov2012-09-27 11:19:28 +0400
commit7e0365857d4af487ad07dfb43a85ed7b789075aa (patch)
tree6b1be80235b42756db1f7495090f88a87a6a0201 /Lua API.html
parent164c61b6383d704a9a5cc52ed482e79ede5cd515 (diff)
downloaddfhack-7e0365857d4af487ad07dfb43a85ed7b789075aa.tar.gz
dfhack-7e0365857d4af487ad07dfb43a85ed7b789075aa.tar.bz2
dfhack-7e0365857d4af487ad07dfb43a85ed7b789075aa.tar.xz
Edit docs a bit more.
Diffstat (limited to 'Lua API.html')
-rw-r--r--Lua API.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lua API.html b/Lua API.html
index f30bb6ec..36be1ba4 100644
--- a/Lua API.html
+++ b/Lua API.html
@@ -781,7 +781,7 @@ running coroutine and let the C++ code release the core suspend
lock. Using an explicit <tt class="docutils literal">dfhack.with_suspend</tt> will prevent
this, forcing the function to block on input with lock held.</p>
</li>
-<li><p class="first"><tt class="docutils literal"><span class="pre">dfhack.interpreter([prompt[,env[,history_filename]]])</span></tt></p>
+<li><p class="first"><tt class="docutils literal"><span class="pre">dfhack.interpreter([prompt[,history_filename[,env]]])</span></tt></p>
<p>Starts an interactive lua interpreter, using the specified prompt
string, global environment and command-line history file.</p>
<p>If the interactive console is not accessible, returns <em>nil, error</em>.</p>