summaryrefslogtreecommitdiff
path: root/xmake/plugins/show/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-14 23:29:05 +0800
committerruki <[email protected]>2025-11-14 23:29:05 +0800
commite4617488a56abbd89c24be114e8f7ae36da289e8 (patch)
tree10e8023214ec25aad7065ba3004dc7c3a4bacfb0 /xmake/plugins/show/xmake.lua
parent31cab9106eeb43897e641ae80d5557d3b24c35f3 (diff)
enable pretty output for xmake show
Diffstat (limited to 'xmake/plugins/show/xmake.lua')
-rw-r--r--xmake/plugins/show/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/plugins/show/xmake.lua b/xmake/plugins/show/xmake.lua
index 475a771b8..331aeb468 100644
--- a/xmake/plugins/show/xmake.lua
+++ b/xmake/plugins/show/xmake.lua
@@ -31,6 +31,7 @@ task("show")
end},
{'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."},
{'t', "target", "kv", nil, "Show the information of the given target.",
values = function (complete, opt)
return import("private.utils.complete_helper.targets")(complete, opt)