diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-10-05 14:42:23 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-10-05 14:42:23 +0100 |
commit | 0bb9aa879725848464b56a956a4384ebcf166866 (patch) | |
tree | 691f2545eafac60b854c3a97ba8f4895754ee6ff /plugins/mod_console.lua | |
parent | c32c45aeaa90410e9f50b28fbc8f74db22dec484 (diff) | |
download | prosody-0bb9aa879725848464b56a956a4384ebcf166866.tar.gz prosody-0bb9aa879725848464b56a956a4384ebcf166866.zip |
mod_console: Add module:list() to help
Diffstat (limited to 'plugins/mod_console.lua')
-rw-r--r-- | plugins/mod_console.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_console.lua b/plugins/mod_console.lua index 112d2492..b9d30716 100644 --- a/plugins/mod_console.lua +++ b/plugins/mod_console.lua @@ -180,6 +180,7 @@ function commands.help(session, data) print [[module:load(module, host) - Load the specified module on the specified host (or all hosts if none given)]] print [[module:reload(module, host) - The same, but unloads and loads the module (saving state if the module supports it)]] print [[module:unload(module, host) - The same, but just unloads the module from memory]] + print [[module:list(host) - List the modules loaded on the specified host]] elseif section == "server" then print [[server:version() - Show the server's version number]] print [[server:uptime() - Show how long the server has been running]] |