revise -max-msg-sz flag doc

This commit is contained in:
Josh Humphries 2019-02-28 10:39:01 -05:00
parent e073b08191
commit 06ef4cdcd6
1 changed files with 2 additions and 2 deletions

View File

@ -88,8 +88,8 @@ var (
useful for preventing batch jobs that use grpcurl from hanging due to useful for preventing batch jobs that use grpcurl from hanging due to
slow or bad network links or due to incorrect stream method usage.`)) slow or bad network links or due to incorrect stream method usage.`))
maxMsgSz = flags.Int("max-msg-sz", 0, prettify(` maxMsgSz = flags.Int("max-msg-sz", 0, prettify(`
The maximum encoded size of a message that grpcurl will accept. If not The maximum encoded size of a response message, in bytes, that grpcurl
specified, defaults to 4mb.`)) 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.`))
msgTemplate = flags.Bool("msg-template", false, prettify(` msgTemplate = flags.Bool("msg-template", false, prettify(`