summaryrefslogtreecommitdiff
path: root/xmake/actions/addon/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/actions/addon/xmake.lua')
-rw-r--r--xmake/actions/addon/xmake.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/actions/addon/xmake.lua b/xmake/actions/addon/xmake.lua
index 8394c110b..240fef5bf 100644
--- a/xmake/actions/addon/xmake.lua
+++ b/xmake/actions/addon/xmake.lua
@@ -26,7 +26,8 @@ task("addon")
description = "Manage addons of xmake.",
options = {
{'i', "install", "k", nil, "Install addons."},
- {'r', "remove", "k", nil, "Remove the given installed addon."},
+ {'r', "remove", "k", nil, "Remove the given installed addons."},
+ {'s', "search", "k", nil, "Search the addons from the repositories."},
{'l', "list", "k", nil, "List all installed addons."},
{'c', "clear", "k", nil, "Clear all installed addons."},
{nil, "addons", "vs", nil, "The addon paths, urls or names.",
@@ -38,6 +39,7 @@ task("addon")
" $ xmake addon --install xmake-repo@serial-monitor",
" $ xmake addon --install serial-monitor",
" $ xmake addon --remove serial-monitor",
+ " $ xmake addon --search serial",
" $ xmake addon --list"}
}
}