summaryrefslogtreecommitdiff
path: root/xmake/plugins/watch/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-21 22:21:42 +0800
committerruki <[email protected]>2022-08-21 22:21:42 +0800
commitb359ad6ccb676c0bd3f8cec8004111e339716e87 (patch)
treecfcd182f827ac268c454b79a0686a71e057f3f1f /xmake/plugins/watch/xmake.lua
parent3d3126d92d084b90ba0941675d580bd663d7297c (diff)
fix argument
Diffstat (limited to 'xmake/plugins/watch/xmake.lua')
-rw-r--r--xmake/plugins/watch/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/watch/xmake.lua b/xmake/plugins/watch/xmake.lua
index 70d2ac242..0c0a23c6e 100644
--- a/xmake/plugins/watch/xmake.lua
+++ b/xmake/plugins/watch/xmake.lua
@@ -39,8 +39,8 @@ task("watch")
" $ xmake watch -d 'src/*" .. path.envsep() .. "tests/**/subdir'"},
{'p', "plaindirs" , "kv" , nil , "Set the given non-recursive watch directories, the project directories will be watched by default.",
"e.g.",
- " $ xmake watch -D src",
- " $ xmake watch -D 'src/*" .. path.envsep() .. "tests/**/subdir'"},
+ " $ xmake watch -p src",
+ " $ xmake watch -p 'src/*" .. path.envsep() .. "tests/**/subdir'"},
{'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 },