From 008a8c6acba6839e5a330bf963ef9f4394d0c1ae Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 19 Aug 2023 16:27:21 +0200 Subject: [PATCH] Fix usage description for backend-http-proxy flag (#2250) --- cli/exec/flags.go | 2 +- cmd/server/flags.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/exec/flags.go b/cli/exec/flags.go index 2d7c12925..3022ed172 100644 --- a/cli/exec/flags.go +++ b/cli/exec/flags.go @@ -74,7 +74,7 @@ var flags = []cli.Flag{ }, &cli.StringFlag{ EnvVars: []string{"WOODPECKER_BACKEND_HTTP_PROXY", "HTTP_PROXY", "http_proxy"}, - Usage: "if set, pass the environment variable down as \"NO_PROXY\" to steps", + Usage: "if set, pass the environment variable down as \"HTTP_PROXY\" to steps", Name: "backend-http-proxy", }, &cli.StringFlag{ diff --git a/cmd/server/flags.go b/cmd/server/flags.go index c4c4ef552..d56899612 100644 --- a/cmd/server/flags.go +++ b/cmd/server/flags.go @@ -272,7 +272,7 @@ var flags = append([]cli.Flag{ }, &cli.StringFlag{ EnvVars: []string{"WOODPECKER_BACKEND_HTTP_PROXY", "HTTP_PROXY", "http_proxy"}, - Usage: "if set, pass the environment variable down as \"NO_PROXY\" to steps", + Usage: "if set, pass the environment variable down as \"HTTP_PROXY\" to steps", Name: "backend-http-proxy", }, &cli.StringFlag{