From 60b38dc63e4830f2c3f6bbbbae83ffce295e6739 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Mon, 24 Oct 2016 20:20:25 +0200 Subject: [PATCH] ls-project: don't just register, handle cmd line options Signed-off-by: Tobias Ulmer --- local/e2-ls-project.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/local/e2-ls-project.lua b/local/e2-ls-project.lua index d5e8139..5b08170 100644 --- a/local/e2-ls-project.lua +++ b/local/e2-ls-project.lua @@ -56,6 +56,12 @@ local function e2_ls_project(arg) error(arguments) end + -- get build mode from the command line + local build_mode, re = policy.handle_commandline_options(opts, true) + if not build_mode then + error(re) + end + info, re = e2tool.collect_project_info(info) if not info then error(re) -- 2.39.5