Software /
code /
prosody
Diff
prosodyctl @ 10190:f506964a1123
prosodyctl: Removed the auxiliary command 'enabled_plugins'
author | João Duarte <jvsDuarte08@gmail.com> |
---|---|
date | Wed, 31 Jul 2019 11:13:14 -0700 |
parent | 10188:dbd9880bf5c6 |
child | 10202:d3764eed7ded |
line wrap: on
line diff
--- a/prosodyctl Wed Jul 31 11:08:43 2019 -0700 +++ b/prosodyctl Wed Jul 31 11:13:14 2019 -0700 @@ -112,16 +112,6 @@ execute_command(arg); end -function commands.enabled_plugins(arg) - if arg[1] == "--help" then - show_usage([[enabled_plugins]], [[Shows plugins currently enabled on prosody]]); - return 1; - end - for module in modulemanager.get_modules_for_host() do - show_warning("%s", module) - end -end - function commands.adduser(arg) if not arg[1] or arg[1] == "--help" then show_usage([[adduser JID]], [[Create the specified user account in Prosody]]); @@ -1387,7 +1377,7 @@ print("Where COMMAND may be one of:\n"); local hidden_commands = require "util.set".new{ "register", "unregister", "addplugin" }; - local commands_order = { "install", "remove", "list", "enabled_plugins", "adduser", "passwd", "deluser", "start", "stop", "restart", "reload", + local commands_order = { "install", "remove", "list", "adduser", "passwd", "deluser", "start", "stop", "restart", "reload", "about" }; local done = {};