aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-22 20:10:20 +0100
committerKim Alvefur <zash@zash.se>2019-12-22 20:10:20 +0100
commit6183e7a303d4fed16b368b55dcd0fddc34b20739 (patch)
tree0c26e3079000f5330a66b08e044c0817b1d5f96d
parent2a75869d2721f9235ea882484cb1a8ea83f792b7 (diff)
downloadprosody-6183e7a303d4fed16b368b55dcd0fddc34b20739.tar.gz
prosody-6183e7a303d4fed16b368b55dcd0fddc34b20739.zip
mod_admin_telnet: Include config:get() in help text
-rw-r--r--plugins/mod_admin_telnet.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 9468be62..f298ad2f 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -288,6 +288,7 @@ function commands.help(session, data)
print [[xmpp:ping(localhost, remotehost) -- Sends a ping to a remote XMPP server and reports the response]]
elseif section == "config" then
print [[config:reload() - Reload the server configuration. Modules may need to be reloaded for changes to take effect.]]
+ print [[config:get([host,] option) - Show the value of a config option.]]
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'.]]