# HG changeset patch # User Waqas Hussain # Date 1255870873 -18000 # Node ID 3f9cce29c57dc0314575436e34b2f14c079f0dff # Parent 6b6b924ee558f704c7127bb3019e396b6b928c26 mod_console: Added help text for config:reload(). diff -r 6b6b924ee558 -r 3f9cce29c57d plugins/mod_console.lua --- a/plugins/mod_console.lua Sun Oct 18 16:45:56 2009 +0500 +++ b/plugins/mod_console.lua Sun Oct 18 18:01:13 2009 +0500 @@ -170,6 +170,7 @@ print [[s2s - Commands to manage sessions between this server and others]] print [[module - Commands to load/reload/unload modules/plugins]] print [[server - Uptime, version, shutting down, etc.]] + print [[config - Reloading the configuration, etc.]] print [[console - Help regarding the console itself]] elseif section == "c2s" then print [[c2s:show(jid) - Show all client sessions with the specified JID (or all if no JID given)]] @@ -188,6 +189,8 @@ print [[server:version() - Show the server's version number]] print [[server:uptime() - Show how long the server has been running]] --print [[server:shutdown(reason) - Shut down the server, with an optional reason to be broadcast to all connections]] + elseif section == "config" then + print [[config:reload() - Reload the server configuration. Modules may need to be reloaded for changes to take effect.]] elseif section == "console" then print [[Hey! Welcome to Prosody's admin console.]] print [[First thing, if you're ever wondering how to get out, simply type 'quit'.]]