clarified docstring

This commit is contained in:
Mikhail Katychev 2020-05-04 10:52:39 -05:00
parent d2c9c318b7
commit 15caf86642
No known key found for this signature in database
GPG Key ID: 9E8549CD2CEB5E59
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ var (
The maximum time, in seconds, to wait for connection to be established. The maximum time, in seconds, to wait for connection to be established.
Defaults to 10 seconds.`)) Defaults to 10 seconds.`))
errorFormat = flags.String("error-format", "text", prettify(` errorFormat = flags.String("error-format", "text", prettify(`
The format of request data. The allowed values are 'json' or 'text'.`)) The format of a non-zero status response. The allowed values are 'json' or 'text'.`))
keepaliveTime = flags.Float64("keepalive-time", 0, prettify(` keepaliveTime = flags.Float64("keepalive-time", 0, prettify(`
If present, the maximum idle time in seconds, after which a keepalive If present, the maximum idle time in seconds, after which a keepalive
probe is sent. If the connection remains idle and no keepalive response probe is sent. If the connection remains idle and no keepalive response