From bbd2f12529ea345ed45b3e368c81d67679afb86f Mon Sep 17 00:00:00 2001 From: Chris Pick Date: Sat, 21 Dec 2024 14:04:39 -0500 Subject: [PATCH] Fix error "-forward-sock" -> "--forward-sock" --- cmd/gvproxy/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gvproxy/main.go b/cmd/gvproxy/main.go index 09d7931d..70a4e3e1 100644 --- a/cmd/gvproxy/main.go +++ b/cmd/gvproxy/main.go @@ -182,7 +182,7 @@ func main() { } if c := len(forwardSocket); c != len(forwardDest) || c != len(forwardUser) || c != len(forwardIdentify) { - exitWithError(errors.New("-forward-sock, --forward-dest, --forward-user, and --forward-identity must all be specified together, " + + exitWithError(errors.New("--forward-sock, --forward-dest, --forward-user, and --forward-identity must all be specified together, " + "the same number of times, or not at all")) }