Skip to content

Commit

Permalink
Fix error "-forward-sock" -> "--forward-sock"
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Pick committed Dec 21, 2024
1 parent 87eab7a commit bbd2f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gvproxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
}

Expand Down

0 comments on commit bbd2f12

Please sign in to comment.