aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
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
commit842657970f1a69585ca8727e6a0c4828f9ee503b (patch)
tree0c26e3079000f5330a66b08e044c0817b1d5f96d /plugins/mod_admin_telnet.lua
parent646e0247d39cb8f4c64c60a7dc424a5f1f6e9150 (diff)
downloadprosody-842657970f1a69585ca8727e6a0c4828f9ee503b.tar.gz
prosody-842657970f1a69585ca8727e6a0c4828f9ee503b.zip
mod_admin_telnet: Include config:get() in help text
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-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'.]]