diff options
Diffstat (limited to 'lua/cmake/commandline.lua')
-rw-r--r-- | lua/cmake/commandline.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lua/cmake/commandline.lua b/lua/cmake/commandline.lua index 55c671c..c3d0ef1 100644 --- a/lua/cmake/commandline.lua +++ b/lua/cmake/commandline.lua @@ -67,7 +67,10 @@ end local build_options = { clean = true, - targets = complete_value(project.current_targets, {}, "name"), + j = function() + return {} + end, + target = complete_value(project.current_targets, {}, "name"), } local install_options = { @@ -128,7 +131,7 @@ function M.parse(args) if not value then result[key] = true else - if key == "targets" then + if key == "target" then result[key] = vim.split(value, ",") else result[key] = value |