alphabetised jsonError flag
This commit is contained in:
parent
c35039ecde
commit
0a1c3705ea
|
|
@ -95,6 +95,8 @@ var (
|
||||||
connectTimeout = flags.Float64("connect-timeout", 0, prettify(`
|
connectTimeout = flags.Float64("connect-timeout", 0, prettify(`
|
||||||
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.`))
|
||||||
|
jsonError = flags.Bool("json-error", false, prettify(`
|
||||||
|
Emit error response as JSON.`))
|
||||||
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
|
||||||
|
|
@ -109,8 +111,6 @@ var (
|
||||||
will accept. If not specified, defaults to 4,194,304 (4 megabytes).`))
|
will accept. If not specified, defaults to 4,194,304 (4 megabytes).`))
|
||||||
emitDefaults = flags.Bool("emit-defaults", false, prettify(`
|
emitDefaults = flags.Bool("emit-defaults", false, prettify(`
|
||||||
Emit default values for JSON-encoded responses.`))
|
Emit default values for JSON-encoded responses.`))
|
||||||
jsonError = flags.Bool("json-error", false, prettify(`
|
|
||||||
Emit error response as JSON.`))
|
|
||||||
protosetOut = flags.String("protoset-out", "", prettify(`
|
protosetOut = flags.String("protoset-out", "", prettify(`
|
||||||
The name of a file to be written that will contain a FileDescriptorSet
|
The name of a file to be written that will contain a FileDescriptorSet
|
||||||
proto. With the list and describe verbs, the listed or described
|
proto. With the list and describe verbs, the listed or described
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue