From 81b6d93701d137f6319687b7b84394fd83f07110 Mon Sep 17 00:00:00 2001 From: Gabe Rau Date: Sat, 20 Mar 2021 15:51:35 -0600 Subject: [PATCH] Minor grammer fixes. --- docs/Lua API.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Lua API.rst b/docs/Lua API.rst index 2789889ad..1278711b5 100644 --- a/docs/Lua API.rst +++ b/docs/Lua API.rst @@ -4411,9 +4411,9 @@ General script API * ``dfhack.run_script(name[,args...])`` - Run a Lua script in hack/scripts/, as if it was started from the DFHack + Run a Lua script in hack/scripts/, as if it were started from the DFHack command-line. The ``name`` argument should be the name of the script without - its extension, as would be used on the command line. + its extension, as it would be used on the command line. Example: @@ -4421,7 +4421,7 @@ General script API repeat -time 14 -timeUnits days -command [ workorder ShearCreature ] -name autoShearCreature - In lua script:: + In Lua script:: dfhack.run_script("repeat", "-time", "14", "-timeUnits", "days", "-command", "[", "workorder", "ShearCreature", "]", "-name", "autoShearCreature")