# HG changeset patch # User João Duarte # Date 1559909341 -3600 # Node ID 58fe5cff5ca2450e9b0156782798d049b5264712 # Parent 5a3611218709917a085ca8b65294cb3c304aa6b8 prosodyctl: Renamed the command function 'test' to 'enabled_plugins', which now only shows the plugins, in a list diff -r 5a3611218709 -r 58fe5cff5ca2 prosodyctl --- a/prosodyctl Fri Jun 07 13:00:40 2019 +0100 +++ b/prosodyctl Fri Jun 07 13:09:01 2019 +0100 @@ -85,9 +85,10 @@ local commands = {}; local command = table.remove(arg, 1); -function commands.test() - show_message [[Well, hello there!]] - show_warning("Trying to peek at the plugin directory: '%s'", modulemanager.get_modules_for_host()) +function commands.enabled_plugins() + for module in modulemanager.get_modules_for_host() do + show_warning("%s", module) + end end function commands.local_plugins()