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.
--- 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 };
};
}