From 6b9d0c94c1c8bf20be431d8a084841a78f96c26f Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 23 Jul 2022 17:19:34 +0800 Subject: update help --- xmake/plugins/watch/xmake.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xmake/plugins/watch/xmake.lua b/xmake/plugins/watch/xmake.lua index 746500afd..79efc75de 100644 --- a/xmake/plugins/watch/xmake.lua +++ b/xmake/plugins/watch/xmake.lua @@ -40,7 +40,11 @@ task("watch") {'r', "run" , "k" , nil , "Build and run target."}, {'t', "target" , "kv" , nil , "Build the given target.", values = function (complete, opt) return import("private.utils.complete_helper.targets")(complete, opt) end }, - {'-', "arbitrary" , "vs" , nil , "Run an arbitrary command."} + {'-', "arbitrary" , "vs" , nil , "Run an arbitrary command.", + "e.g.", + " $ xmake watch -- echo hello xmake!", + " $ xmake watch -- xmake run", + " $ xmake watch -- xmake -rv"} } } -- cgit v1.3.1