From 3e9b7addb16afdcd5e33dbcfb2551ba4f72f2b43 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 21 Nov 2019 21:54:17 +0200 Subject: [PATCH] lib/httpserver: typo fix in `-httpAuth.password` command-line description --- lib/httpserver/httpserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/httpserver/httpserver.go b/lib/httpserver/httpserver.go index 4a02696ee..86f878620 100644 --- a/lib/httpserver/httpserver.go +++ b/lib/httpserver/httpserver.go @@ -28,7 +28,7 @@ var ( tlsKeyFile = flag.String("tlsKeyFile", "", "Path to file with TLS key. Used only if tls=true") httpAuthUsername = flag.String("httpAuth.username", "", "Username for HTTP Basic Auth. The authentication is disabled if empty. See also -httpAuth.password") - httpAuthPassword = flag.String("httpAuth.password", "", "Password for HTTP Basic Auth. The authentication is disabled -httpAuth.username is empty") + httpAuthPassword = flag.String("httpAuth.password", "", "Password for HTTP Basic Auth. The authentication is disabled if -httpAuth.username is empty") metricsAuthKey = flag.String("metricsAuthKey", "", "Auth key for /metrics. It overrides httpAuth settings") pprofAuthKey = flag.String("pprofAuthKey", "", "Auth key for /debug/pprof. It overrides httpAuth settings")