From 16757967521709ef624f99739a3654b6aa6de346 Mon Sep 17 00:00:00 2001 From: Gene Hazan Date: Fri, 16 Sep 2016 13:21:28 -0700 Subject: [PATCH] Update README and usage string. --- README.md | 4 ++-- hey.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 92410d2..8506396 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,11 @@ Usage: hey [options...] 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. diff --git a/hey.go b/hey.go index 1265682..b81b7e6 100644 --- a/hey.go +++ b/hey.go @@ -75,13 +75,13 @@ var ( var usage = `Usage: hey [options...] 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.