aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-10-18 18:01:13 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-10-18 18:01:13 +0500
commit09d59fbf6b67d531594a50ae328bca3ce1119eb1 (patch)
treec5d3f44398e3731ca814478c0f37ddc8774bd204
parent91e96a8a1ca8da769763f8129d530eb9d393683f (diff)
downloadprosody-09d59fbf6b67d531594a50ae328bca3ce1119eb1.tar.gz
prosody-09d59fbf6b67d531594a50ae328bca3ce1119eb1.zip
mod_console: Added help text for config:reload().
-rw-r--r--plugins/mod_console.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_console.lua b/plugins/mod_console.lua
index 760bf596..19c22c91 100644
--- a/plugins/mod_console.lua
+++ b/plugins/mod_console.lua
@@ -170,6 +170,7 @@ function commands.help(session, data)
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 @@ function commands.help(session, data)
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'.]]