e2lib.init()
local opts, arguments = e2option.parse(arg)
+ if not opts then
+ return false, arguments
+ end
+
local rc, e = e2lib.read_global_config()
if not rc then
return false, e
e2option.option("tag", "retrieve a specific project tag")
local opts, arguments = e2option.parse(arg)
+ if not opts then
+ return false, arguments
+ end
+
local rc, re = e2lib.read_global_config()
if not rc then
return false, e:cat(re)
e2lib.init()
local opts, arguments = e2option.parse(arg)
+ if not opts then
+ return false, arguments
+ end
local root = e2lib.locate_project_root()
if not root then
e2call.arg_string = quoteargs(table.concat(arg, "' '", 2))
elseif e2call.basename == "e2" then
e2call.toolname = "e2"
- local opts = e2option.parse(arg)
+ local opts, re = e2option.parse(arg)
+ if not opts then
+ return false, re
+ end
+
if #opts == 0 then
e2option.usage(1)
end
enable_writeback, "SERVER")
local opts, arguments = e2option.parse(arg)
+ if not opts then
+ return false, arguments
+ end
-- get build mode from the command line
local build_mode, re = policy.handle_commandline_options(opts, true)
end
local opts, arguments = e2option.parse(arg)
+ if not opts then
+ return false, arguments
+ end
-- initialize some basics in the info structure without actually loading
-- the project configuration.
e2option.flag("recursive", "show indirect dependencies, too")
local opts, arguments = e2option.parse(arg)
+ if not opts then
+ return false, arguments
+ end
if #arguments == 0 then
return false,
return false, re
end
- e2option.parse(arg)
+ local opts, re = e2option.parse(arg)
+ if not opts then
+ return false, re
+ end
info, re = e2tool.collect_project_info(info)
if not info then
e2option.flag("result", "select sources by result names")
local opts, arguments = e2option.parse(arg)
+ if not opts then
+ return false, arguments
+ end
+
info, re = e2tool.collect_project_info(info)
if not info then
return false, info
end
local opts, arguments = e2option.parse(arg)
+ if not opts then
+ return false, arguments
+ end
info, re = e2tool.collect_project_info(info, true)
if not info then
e2option.flag("all", "show unused results and sources, too")
local opts, arguments = e2option.parse(arg)
+ if not opts then
+ return false, arguments
+ end
info, re = e2tool.collect_project_info(info)
if not info then
e2option.option("server", "specify server")
e2option.flag("no-checksum", "do not verify checksum file")
local opts, arguments = e2option.parse(arg)
+ if not opts then
+ return false, arguments
+ end
info, re = e2tool.collect_project_info(info)
if not info then
e2option.flag("showpath", "prints the path of the build directory inside the chroot to stdout" )
local opts, arguments = e2option.parse(arg)
+ if not opts then
+ return false, arguments
+ end
+
-- get build mode from the command line
local build_mode, re = policy.handle_commandline_options(opts, true)
if not build_mode then