Software /
code /
prosody
Changeset
11870:1d1ed2be3491
util.startup: Understand -h, -? as --help in prosodyctl but ignore
prosodyctl -h showing an error was not very helpful, especially since
prosodyctl shows its help for any unknown (or none) command.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 25 Oct 2021 15:47:18 +0200 (2021-10-25) |
parents | 11869:d52a73425eba |
children | 11871:5dcbba569fb9 |
files | util/startup.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/startup.lua Mon Oct 25 15:46:01 2021 +0200 +++ b/util/startup.lua Mon Oct 25 15:47:18 2021 +0200 @@ -28,7 +28,7 @@ value_params = { config = true }; }; prosodyctl = { - short_params = { v = "verbose" }; + short_params = { v = "verbose", h = "help", ["?"] = "help" }; value_params = { config = true }; }; }