mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
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.
This commit is contained in:
parent
7791f88775
commit
619cf0043f
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ local arg_settigs = {
|
|||
value_params = { config = true };
|
||||
};
|
||||
prosodyctl = {
|
||||
short_params = { v = "verbose" };
|
||||
short_params = { v = "verbose", h = "help", ["?"] = "help" };
|
||||
value_params = { config = true };
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue