diff options
Diffstat (limited to 'xmake/plugins/show/main.lua')
| -rw-r--r-- | xmake/plugins/show/main.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/plugins/show/main.lua b/xmake/plugins/show/main.lua index 9dc4f519a..2b337b13e 100644 --- a/xmake/plugins/show/main.lua +++ b/xmake/plugins/show/main.lua @@ -32,6 +32,8 @@ function main() local listname = option.get("list") if listname then return _show_list(listname) + elseif option.get("target_graph") then + return assert(import("info.target_graph", {try = true, anonymous = true}))(option.get("target")) else -- show the information of the given object for _, filepath in ipairs(os.files(path.join(os.scriptdir(), "info", "*.lua"))) do |
