Software /
code /
prosody
Diff
plugins/mod_admin_telnet.lua @ 10517:6e1163fa2cd2
mod_admin_telnet: Include config:get() in help text
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 22 Dec 2019 20:10:20 +0100 |
parent | 10510:fe0884ddb4f8 |
child | 10544:0bd408d93f9a |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Sun Dec 22 08:42:12 2019 +0000 +++ b/plugins/mod_admin_telnet.lua Sun Dec 22 20:10:20 2019 +0100 @@ -288,6 +288,7 @@ 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'.]]