We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 467feb5 commit 0af36dfCopy full SHA for 0af36df
cmd/postto/postto.go
@@ -61,7 +61,7 @@ func main() {
61
flag.IntVar(&cmd.requestPoolSize, "request-pool-size", 0, "size of the request pool")
62
flag.IntVar(&cmd.lineBatchSize, "line-batch-size", 1, "number of lines to include in each request")
63
flag.StringVar(&cmd.method, "method", "POST", "request method, e.g. GET")
64
- flag.StringVar(&headersStr, "headers", "", "request headers, e.g. ContentType:application/json,X-MyHeader:Hello")
+ flag.StringVar(&headersStr, "headers", "", "request headers, e.g. Content-Type:application/json,X-MyHeader:Hello")
65
flag.StringVar(&statusCodeWhitelistStr, "status-code-whitelist", "200-299", "response status codes that will not "+
66
"trigger an error, e.g. 200-204,404")
67
flag.IntVar(&printPeriod, "print-period", 5, "how often to print the status, in seconds")
0 commit comments