Fixed dfhack.interpreter argument order

The argument order was incorrect. See: https://github.com/angavrilov/dfhack/blob/master/library/lua/dfhack.lua#L222
develop
warmist 2012-09-26 08:39:07 +03:00
parent 821271383e
commit ac9e78a613
1 changed files with 1 additions and 1 deletions

@ -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.