Fix server flag name

This commit is contained in:
itchyonion 2022-12-13 09:23:34 -08:00
parent 11c3333856
commit 53e381e45d
No known key found for this signature in database
GPG key ID: 4B87B720348500EA

View file

@ -139,7 +139,7 @@ func main() {
flag.BoolVar(&disableTLS, "disable-tls", false, "don't use HTTPS")
flag.StringVar(&logFilename, "log", "", "log file to write to")
flag.BoolVar(&unsafeLogging, "unsafe-logging", false, "prevent logs from being scrubbed")
flag.BoolVar(&versionFlag, "unsafe-logging", false, "display version info to stderr and quit")
flag.BoolVar(&versionFlag, "version", false, "display version info to stderr and quit")
flag.Parse()
if versionFlag {