Skip to content

Commit 0af36df

Browse files
committed
Fix usage string
1 parent 467feb5 commit 0af36df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/postto/postto.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func main() {
6161
flag.IntVar(&cmd.requestPoolSize, "request-pool-size", 0, "size of the request pool")
6262
flag.IntVar(&cmd.lineBatchSize, "line-batch-size", 1, "number of lines to include in each request")
6363
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")
64+
flag.StringVar(&headersStr, "headers", "", "request headers, e.g. Content-Type:application/json,X-MyHeader:Hello")
6565
flag.StringVar(&statusCodeWhitelistStr, "status-code-whitelist", "200-299", "response status codes that will not "+
6666
"trigger an error, e.g. 200-204,404")
6767
flag.IntVar(&printPeriod, "print-period", 5, "how often to print the status, in seconds")

0 commit comments

Comments
 (0)