From 7288595789612580bd50cdc1944de6ba93349eac Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 8 Jan 2025 22:46:21 +0100 Subject: 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'. --- prosodyctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prosodyctl') diff --git a/prosodyctl b/prosodyctl index 9bdc86a2..ea8f0a8c 100755 --- a/prosodyctl +++ b/prosodyctl @@ -649,7 +649,7 @@ local command_runner = async.runner(function () 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"; -- cgit v1.2.3