Changeset

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
parents 13611:3a23116cf063
children 13613:9cd5b3484a1d
files prosodyctl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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";