@@ -42,17 +42,20 @@ func main() {
4242 Action : ActionServe ,
4343 Flags : []cli.Flag {
4444 & cli.StringFlag {
45- Name : "bind, b" ,
45+ Name : "bind" ,
46+ Aliases : []string {"b" },
4647 Value : ":8080" ,
4748 Usage : "address to listen on" ,
4849 },
4950 & cli.StringFlag {
50- Name : "sslkey, k" ,
51+ Name : "sslkey" ,
52+ Aliases : []string {"k" },
5153 Value : "<unset>" ,
5254 Usage : "path to the SSL secret key" ,
5355 },
5456 & cli.StringFlag {
55- Name : "sslcrt, c" ,
57+ Name : "sslcrt" ,
58+ Aliases : []string {"c" },
5659 Value : "<unset>" ,
5760 Usage : "path to the SSL compound certificate" ,
5861 },
@@ -73,7 +76,8 @@ func main() {
7376 Usage : "print only tokens (not as basic-auth URLs)" ,
7477 },
7578 & cli.StringFlag {
76- Name : "url-base, U" ,
79+ Name : "url-base" ,
80+ Aliases : []string {"U" },
7781 Value : "http://localhost:8080" ,
7882 Usage : "base URL to generate for (not included in hmac)" ,
7983 Sources : cli .EnvVars ("HOOKBOT_URL_BASE" ),
@@ -86,7 +90,8 @@ func main() {
8690 Action : github .ActionRoute ,
8791 Flags : []cli.Flag {
8892 & cli.StringFlag {
89- Name : "monitor-url, u" ,
93+ Name : "monitor-url" ,
94+ Aliases : []string {"u" },
9095 Usage : "URL to monitor" ,
9196 },
9297 & cli.StringFlag {
@@ -96,7 +101,8 @@ func main() {
96101 Sources : cli .EnvVars ("HOOKBOT_ORIGIN" ),
97102 },
98103 & cli.StringSliceFlag {
99- Name : "header, H" ,
104+ Name : "header" ,
105+ Aliases : []string {"H" },
100106 Usage : "headers to pass to the remote" ,
101107 Sources : cli .EnvVars ("HOOKBOT_HEADER" ),
102108 },
0 commit comments