Update README and usage string.

This commit is contained in:
Gene Hazan
2016-09-16 13:21:28 -07:00
parent 80be8c1523
commit 1675796752
2 changed files with 5 additions and 5 deletions
+2 -2
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.
+3 -3
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.