diff options
Diffstat (limited to 'xmake/actions/uninstall/xmake.lua')
| -rw-r--r-- | xmake/actions/uninstall/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/uninstall/xmake.lua b/xmake/actions/uninstall/xmake.lua index 4f70922c2..882499668 100644 --- a/xmake/actions/uninstall/xmake.lua +++ b/xmake/actions/uninstall/xmake.lua @@ -52,7 +52,7 @@ task("uninstall") "or $ PREFIX=local xmake uninstall" } , { } , {nil, "target", "v", nil , "The target name. It will uninstall 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 } } } |
