diff options
Diffstat (limited to 'xmake/plugins')
| -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}, |
