Software /
code /
prosody
Diff
prosodyctl @ 13612:8617f5962e47
prosodyctl: Hide the 'lua_paths' command from default command listing
All commands are called with a '-h' argument, but this one doesn't have
that. Since it's meant to be machine readable, hiding it seems
marginally more sensible than implementing '-h'.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 08 Jan 2025 22:46:21 +0100 |
parent | 13610:ff0f4d1f16c8 |
child | 13644:263ae995bc86 |
line wrap: on
line diff
--- a/prosodyctl Wed Jan 08 22:30:30 2025 +0100 +++ b/prosodyctl Wed Jan 08 22:46:21 2025 +0100 @@ -649,7 +649,7 @@ print(""); print("Where COMMAND may be one of:"); - local hidden_commands = require "prosody.util.set".new{ "register", "unregister" }; + local hidden_commands = require "prosody.util.set".new{ "register", "unregister", "lua_paths" }; local commands_order = { "Process management:", "start"; "stop"; "restart"; "reload"; "status";