This commit is contained in:
Axel Kittenberger 2010-11-13 08:55:44 +00:00
parent 830bade7a4
commit 89a129521d
1 changed files with 5 additions and 3 deletions

View File

@ -1496,7 +1496,6 @@ function runner.configure(args)
local options = {
-- log is handled by core already.
log = {1},
}
-- filled with all args that were non --options
local nonopts = {}
@ -1515,6 +1514,9 @@ function runner.configure(args)
if o then
-- TODO --
i = i + o[1]
else
log("Error","unknown option command line option ", a)
os.exit(-1) -- ERRNO
end
end
i = i + 1
@ -1525,8 +1527,8 @@ function runner.configure(args)
elseif #nonopts == 1 then
return nonopts[1]
else
-- TODO
return true
log("Error", "There can only be one config file in command line.")
os.exit(-1) -- ERRNO
end
end