diff options
Diffstat (limited to 'xmake/actions/package/xmake.lua')
| -rw-r--r-- | xmake/actions/package/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/package/xmake.lua b/xmake/actions/package/xmake.lua index 13c3f4b28..d15c3eec1 100644 --- a/xmake/actions/package/xmake.lua +++ b/xmake/actions/package/xmake.lua @@ -45,7 +45,7 @@ task("package") , {'a', "all", "k", nil , "Package all targets." } , {} , {nil, "target", "v", nil , "The target name. It will package all default targets if this parameter is not specified." - , values = function () return try{ function () return table.keys(import("core.project.project").targets()) end } end } + , values = function (complete, opt) return import("private.utils.complete_helper.targets")(complete, opt) end } } } |
