mod_admin_telnet: Include config:get() in help text
authorKim Alvefur <zash@zash.se>
Sun, 22 Dec 2019 20:10:20 +0100
changeset 10521 6e1163fa2cd2
parent 10520 d3e6941546a8
child 10525 cbb2c3f8bb1d
mod_admin_telnet: Include config:get() in help text
plugins/mod_admin_telnet.lua
--- 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'.]]