Skip to content

armgit / hey

Public Imported from GitHub
0

HTTP load generator, ApacheBench (ab) replacement

Go

Readability improvement.

Burcu Dogan94b8a90f5c61
diff --git a/boom.go b/boom.go
index 252046c..61ba1cf 100644
--- a/boom.go
+++ b/boom.go
@@ -176,9 +176,9 @@ func main() {
}).Run()
}
-func usageAndExit(message string) {
- if message != "" {
- fmt.Fprintf(os.Stderr, message)
+func usageAndExit(msg string) {
+ if msg != "" {
+ fmt.Fprintf(os.Stderr, msg)
fmt.Fprintf(os.Stderr, "\n\n")
}
flag.Usage()