diff options
| author | Opportunity <[email protected]> | 2020-06-30 11:48:32 +0800 |
|---|---|---|
| committer | Opportunity <[email protected]> | 2020-06-30 11:48:32 +0800 |
| commit | 58c8e709cc4677ec6fb5fdfcec1958fab6743709 (patch) | |
| tree | dce1ed26d57764f4fc3e67538106793c3e1e54b2 /xmake/actions/build/xmake.lua | |
| parent | f03a57c21313e1f155294c8bad56cc933c71065f (diff) | |
fix auto complete
Diffstat (limited to 'xmake/actions/build/xmake.lua')
| -rw-r--r-- | xmake/actions/build/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/build/xmake.lua b/xmake/actions/build/xmake.lua index 8d3b28291..700bb8996 100644 --- a/xmake/actions/build/xmake.lua +++ b/xmake/actions/build/xmake.lua @@ -59,7 +59,7 @@ task("build") , {} , {nil, "target", "v", nil , "The target name. It will build 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 } } } |
