summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.