# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1635169638 -7200
# Node ID 1d1ed2be3491e96708a0d4b970f62973b0e0711c
# Parent  d52a73425eba1863778765ddaaf83c9dc7de8953
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.

diff -r d52a73425eba -r 1d1ed2be3491 util/startup.lua
--- 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 };
 	};
 }