diff options
-rw-r--r-- | plugins/mod_admin_shell.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua index 4a3a0641..1b11bf52 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -575,6 +575,12 @@ function def_env.module:info(name, hosts) print(" - mod_" .. dep); end end + if mod.module.reverse_dependencies and next(mod.module.reverse_dependencies) ~= nil then + print(" reverse dependencies:"); + for dep in pairs(mod.module.reverse_dependencies) do + print(" - mod_" .. dep); + end + end end return true; end |