Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
10516:d3e6941546a8 | 10517:6e1163fa2cd2 |
---|---|
286 print [[dns:cache() - Show cached records]] | 286 print [[dns:cache() - Show cached records]] |
287 elseif section == "xmpp" then | 287 elseif section == "xmpp" then |
288 print [[xmpp:ping(localhost, remotehost) -- Sends a ping to a remote XMPP server and reports the response]] | 288 print [[xmpp:ping(localhost, remotehost) -- Sends a ping to a remote XMPP server and reports the response]] |
289 elseif section == "config" then | 289 elseif section == "config" then |
290 print [[config:reload() - Reload the server configuration. Modules may need to be reloaded for changes to take effect.]] | 290 print [[config:reload() - Reload the server configuration. Modules may need to be reloaded for changes to take effect.]] |
291 print [[config:get([host,] option) - Show the value of a config option.]] | |
291 elseif section == "console" then | 292 elseif section == "console" then |
292 print [[Hey! Welcome to Prosody's admin console.]] | 293 print [[Hey! Welcome to Prosody's admin console.]] |
293 print [[First thing, if you're ever wondering how to get out, simply type 'quit'.]] | 294 print [[First thing, if you're ever wondering how to get out, simply type 'quit'.]] |
294 print [[Secondly, note that we don't support the full telnet protocol yet (it's coming)]] | 295 print [[Secondly, note that we don't support the full telnet protocol yet (it's coming)]] |
295 print [[so you may have trouble using the arrow keys, etc. depending on your system.]] | 296 print [[so you may have trouble using the arrow keys, etc. depending on your system.]] |