diff options
| author | ruki <[email protected]> | 2026-04-18 22:02:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-04-20 09:35:37 +0800 |
| commit | 1f673c158867dffbf4edb78909fa87fbb02fc2e5 (patch) | |
| tree | 2f88954b1d6c94ca9c3da3d214562e68267282d4 /xmake | |
| parent | fea8ad3d654e497ba83315f26902647dd64f561e (diff) | |
improve show test
Diffstat (limited to 'xmake')
| -rw-r--r-- | xmake/plugins/show/xmake.lua | 8 |
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}, |
