We had functionality to translate from a source to result and list
all dependencies, but that lead to ambiguous behaviour where sources
and results with the same name exist. So don't accept source names
for now.
Signed-off-by: Gordon Hecker <gh@emlix.com>
end
elseif #opts.arguments > 0 then
for _, r in ipairs(opts.arguments) do
- table.insert(results, r)
+ if info.results[r] then
+ table.insert(results, r)
+ else
+ e2lib.abort(new_error("not a result: %s", r))
+ end
end
end
if #results > 0 then