diff options
author | Kim Alvefur <zash@zash.se> | 2020-04-29 22:56:35 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-04-29 22:56:35 +0200 |
commit | 3ac134a9e3310902ea09adbe726ae73916fd2af8 (patch) | |
tree | f4837e40adf5e2833076b659e08317ea3f9942fb /plugins/mod_admin_telnet.lua | |
parent | 66f554d5aaeb8278b9a626b6201a1d3cc51d2919 (diff) | |
download | prosody-3ac134a9e3310902ea09adbe726ae73916fd2af8.tar.gz prosody-3ac134a9e3310902ea09adbe726ae73916fd2af8.zip |
mod_admin_telnet: Document HTTP command in internal help
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 71a9420b..96b5a97b 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -244,6 +244,7 @@ function commands.help(session, data) print [[]] print [[c2s - Commands to manage local client-to-server sessions]] print [[s2s - Commands to manage sessions between this server and others]] + print [[http - Commands to inspect HTTP services]] -- XXX plural but there is only one so far print [[module - Commands to load/reload/unload modules/plugins]] print [[host - Commands to activate, deactivate and list virtual hosts]] print [[user - Commands to create and delete users, and change their passwords]] @@ -267,6 +268,8 @@ function commands.help(session, data) print [[s2s:show_tls(domain) - Show TLS cipher info for encrypted sessions]] print [[s2s:close(from, to) - Close a connection from one domain to another]] print [[s2s:closeall(host) - Close all the incoming/outgoing s2s sessions to specified host]] + elseif section == "http" then + print [[http:list(hosts) - Show HTTP endpoints]] elseif section == "module" then print [[module:load(module, host) - Load the specified module on the specified host (or all hosts if none given)]] print [[module:reload(module, host) - The same, but unloads and loads the module (saving state if the module supports it)]] |