summaryrefslogtreecommitdiff
path: root/xmake
diff options
context:
space:
mode:
authorruki <[email protected]>2026-04-18 22:02:06 +0800
committerruki <[email protected]>2026-04-20 09:35:37 +0800
commit1f673c158867dffbf4edb78909fa87fbb02fc2e5 (patch)
tree2f88954b1d6c94ca9c3da3d214562e68267282d4 /xmake
parentfea8ad3d654e497ba83315f26902647dd64f561e (diff)
improve show test
Diffstat (limited to 'xmake')
-rw-r--r--xmake/plugins/show/xmake.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/xmake/plugins/show/xmake.lua b/xmake/plugins/show/xmake.lua
index de7a5a1c5..6d040da92 100644
--- a/xmake/plugins/show/xmake.lua
+++ b/xmake/plugins/show/xmake.lua
@@ -32,8 +32,14 @@ task("show")
{'g', "group", "kv", nil, "Filter targets by the given group name."},
{nil, "json", "k", false, "Show information with json format."},
{nil, "pretty", "k", false, "Enable pretty formatted json output."},
- {nil, "dot", "k", false, "Output dependency graph in graphviz DOT format."},
+ {nil, "dot", "k", false, "Output dependency graph in graphviz DOT format (only for --info=depgraph)."},
{'i', "info", "kv", nil, "Show the given information.",
+ "e.g.",
+ " - xmake show --info=depgraph",
+ " - xmake show --info=depgraph --target=app",
+ " - xmake show --info=depgraph --json --pretty",
+ " - xmake show --info=depgraph --dot",
+ "values:",
values = function (complete, opt)
return import("list").infos()
end},