diff options
| author | ruki <[email protected]> | 2022-07-23 17:19:34 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-07-23 17:19:34 +0800 |
| commit | 6b9d0c94c1c8bf20be431d8a084841a78f96c26f (patch) | |
| tree | ea465328df933de95213b4c8ce2d02ac2aabfddf | |
| parent | 712ee63202583f560e44f604335cf2419ce771c6 (diff) | |
update help
| -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"} } } |
