fixed to be used like this: lua/luarun app.lua call_block C
This commit is contained in:
@@ -70,8 +70,8 @@ This method causes the script to get its manadatory arguments directly from the
|
|||||||
|
|
||||||
-- We have a single command letter
|
-- We have a single command letter
|
||||||
-- Use session variables
|
-- Use session variables
|
||||||
logger("D", "NOTICE", "params default from session, count " .. string.format("%d", #argv[1]) .. " \n")
|
logger("D", "NOTICE", "params default from session, count " .. string.format("%d", #argv[2]) .. " \n")
|
||||||
params["cmd"] = argv[1]
|
params["cmd"] = argv[2]
|
||||||
|
|
||||||
-- ensure that we have a fresh status on exit
|
-- ensure that we have a fresh status on exit
|
||||||
session:setVariable("call_block", "")
|
session:setVariable("call_block", "")
|
||||||
|
|||||||
Reference in New Issue
Block a user