Merge pull request #21 from geneh/master

Update README and usage string.
This commit is contained in:
Jaana-Burcu Dogan
2016-09-27 18:59:43 -07:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -31,11 +31,11 @@ Usage: hey [options...] <url>
Options:
-n Number of requests to run.
-c Number of requests to run concurrently. Total number of requests cannot
be smaller than the concurency level.
be smaller than the concurrency level.
-q Rate limit, in seconds (QPS).
-o Output type. If none provided, a summary is printed.
"csv" is the only supported alternative. Dumps the response
metrics in comma-seperated values format.
metrics in comma-separated values format.
-m HTTP method, one of GET, POST, PUT, DELETE, HEAD, OPTIONS.
-H Custom HTTP header. You can specify as many as needed by repeating the flag.

6
hey.go
View File

@@ -75,13 +75,13 @@ var (
var usage = `Usage: hey [options...] <url>
Options:
-n Number of requests to run.
-n Number of requests to run. Default is 200.
-c Number of requests to run concurrently. Total number of requests cannot
be smaller than the concurency level.
be smaller than the concurrency level. Default is 50.
-q Rate limit, in seconds (QPS).
-o Output type. If none provided, a summary is printed.
"csv" is the only supported alternative. Dumps the response
metrics in comma-seperated values format.
metrics in comma-separated values format.
-m HTTP method, one of GET, POST, PUT, DELETE, HEAD, OPTIONS.
-H Custom HTTP header. You can specify as many as needed by repeating the flag.