Short flag for server-host must be "i", not "h" to avoid conflict with "help"

This commit is contained in:
Michael Mayer 2018-09-18 21:43:22 +02:00
parent e4998d1046
commit ee705e2a61

View file

@ -52,7 +52,7 @@ func main() {
EnvVar: "PHOTOPRISM_SERVER_PORT", EnvVar: "PHOTOPRISM_SERVER_PORT",
}, },
cli.StringFlag{ cli.StringFlag{
Name: "server-host, h", Name: "server-host, i",
Usage: "HTTP server host", Usage: "HTTP server host",
Value: "", Value: "",
EnvVar: "PHOTOPRISM_SERVER_HOST", EnvVar: "PHOTOPRISM_SERVER_HOST",