# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1736372781 -3600
# Node ID 8617f5962e47b5735bb2bca1f46b1f4ea8021b4d
# Parent  3a23116cf0632c2c6d0b520bff6cd124f77f38e1
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'.

diff -r 3a23116cf063 -r 8617f5962e47 prosodyctl
--- 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";