Skip to content

Commit

Permalink
fix: remove duplicate flag parse error message
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Nov 16, 2023
1 parent 5847c32 commit 6c4651f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ Environment variables:
- %s: override OS/architecture for URL and archive exe path matching
`, prog, prog, cacheHomeEnvVar, prog, verboseEnvVar, osArchEnvVar)
} else {
errorOut("parse flags: %v", err)
// Error already printed
rc = 2 // usage
}
return
Expand Down

0 comments on commit 6c4651f

Please sign in to comment.