diff options
| -rw-r--r-- | xmake/plugins/watch/xmake.lua | 6 |
1 files changed, 5 insertions, 1 deletions
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"} } } |
