Comparison

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
comparison
equal deleted inserted replaced
13611:3a23116cf063 13612:8617f5962e47
647 print(""); 647 print("");
648 print("Usage: "..arg[0].." COMMAND [OPTIONS]"); 648 print("Usage: "..arg[0].." COMMAND [OPTIONS]");
649 print(""); 649 print("");
650 print("Where COMMAND may be one of:"); 650 print("Where COMMAND may be one of:");
651 651
652 local hidden_commands = require "prosody.util.set".new{ "register", "unregister" }; 652 local hidden_commands = require "prosody.util.set".new{ "register", "unregister", "lua_paths" };
653 local commands_order = { 653 local commands_order = {
654 "Process management:", 654 "Process management:",
655 "start"; "stop"; "restart"; "reload"; "status"; 655 "start"; "stop"; "restart"; "reload"; "status";
656 "shell", 656 "shell",
657 "User management:", 657 "User management:",