Skip to content

armgit / hey

Public Imported from GitHub
0

HTTP load generator, ApacheBench (ab) replacement

Go

Provide better help message for invalid output type.

Burcu Doganc17fdf05249f
diff --git a/boom.go b/boom.go
index 203f3ef..c7d6726 100644
--- a/boom.go
+++ b/boom.go
@@ -158,7 +158,7 @@ func main() {
}
if *output != "csv" && *output != "" {
- usageAndExit("Invalid output type.")
+ usageAndExit("Invalid output type; only csv is supported.")
}
var proxyURL *gourl.URL