diff options
author | Kim Alvefur <zash@zash.se> | 2019-12-22 20:10:20 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-12-22 20:10:20 +0100 |
commit | 6183e7a303d4fed16b368b55dcd0fddc34b20739 (patch) | |
tree | 0c26e3079000f5330a66b08e044c0817b1d5f96d /plugins | |
parent | 2a75869d2721f9235ea882484cb1a8ea83f792b7 (diff) | |
download | prosody-6183e7a303d4fed16b368b55dcd0fddc34b20739.tar.gz prosody-6183e7a303d4fed16b368b55dcd0fddc34b20739.zip |
mod_admin_telnet: Include config:get() in help text
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 1 |
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'.]] |