mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
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'.
This commit is contained in:
parent
ede98f71e4
commit
7288595789
1 changed files with 1 additions and 1 deletions
|
@ -649,7 +649,7 @@ local command_runner = async.runner(function ()
|
||||||
print("");
|
print("");
|
||||||
print("Where COMMAND may be one of:");
|
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 = {
|
local commands_order = {
|
||||||
"Process management:",
|
"Process management:",
|
||||||
"start"; "stop"; "restart"; "reload"; "status";
|
"start"; "stop"; "restart"; "reload"; "status";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue