Commit 9ad4c3ec authored by Amadeu Andrade Barbosa Junior's avatar Amadeu Andrade Barbosa Junior
Browse files

OPENBUS-3105 Adição da opção -- para repassar strings para código usado com -e

parent 7a719308
......@@ -46,6 +46,7 @@ Available options are:
-l name require library 'name'
-v show version information
-E ignore environment variables
-- stop handling options and put other strings as arg table
return 1
......@@ -148,7 +148,7 @@ function module.processargs(env, ignorevars, interactive, executables, script, .
if errmsg == nil and script ~= nil then
if errmsg == nil and script ~= nil and script ~= "--" then
local code, result = loadfile(script, "t")
if code == nil then
errmsg = result
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment