summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins')
-rw-r--r--xmake/plugins/plugin/main.lua1
-rw-r--r--xmake/plugins/plugin/xmake.lua2
2 files changed, 2 insertions, 1 deletions
diff --git a/xmake/plugins/plugin/main.lua b/xmake/plugins/plugin/main.lua
index facbc0b4c..ce1ac3e4f 100644
--- a/xmake/plugins/plugin/main.lua
+++ b/xmake/plugins/plugin/main.lua
@@ -257,6 +257,7 @@ function _clear()
end
function main()
+ cprint("${bright color.warning}${text.warning}: ${color.warning}`xmake plugin` is deprecated, please use `xmake addon` instead!")
if option.get("install") then
_install()
elseif option.get("remove") then
diff --git a/xmake/plugins/plugin/xmake.lua b/xmake/plugins/plugin/xmake.lua
index ae7869203..1136b0044 100644
--- a/xmake/plugins/plugin/xmake.lua
+++ b/xmake/plugins/plugin/xmake.lua
@@ -23,7 +23,7 @@ task("plugin")
on_run("main")
set_menu {
usage = "xmake plugin [options]",
- description = "Manage plugins of xmake.",
+ description = "Manage plugins of xmake. (deprecated, please use `xmake addon` instead)",
options = {
{'i', "install", "k", nil, "Install plugins."},
{'r', "remove", "k", nil, "Remove the given installed plugin."},