Skip to content

Commit fec466e

Browse files
authored
fix some typos (#314)
Signed-off-by: cuishuang <imcusg@gmail.com>
1 parent 7f919e6 commit fec466e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/grpcurl/grpcurl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ var (
109109
separator.`))
110110
allowUnknownFields = flags.Bool("allow-unknown-fields", false, prettify(`
111111
When true, the request contents, if 'json' format is used, allows
112-
unkown fields to be present. They will be ignored when parsing
112+
unknown fields to be present. They will be ignored when parsing
113113
the request.`))
114114
connectTimeout = flags.Float64("connect-timeout", 0, prettify(`
115115
The maximum time, in seconds, to wait for connection to be established.

format.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ type DefaultEventHandler struct {
428428
// the given output. If verbose is true, all events are logged. Otherwise, only
429429
// response messages are logged.
430430
//
431-
// Deprecated: NewDefaultEventHandler exists for compatability.
431+
// Deprecated: NewDefaultEventHandler exists for compatibility.
432432
// It doesn't allow fine control over the `VerbosityLevel`
433433
// and provides only 0 and 1 options (which corresponds to the `verbose` argument).
434434
// Use DefaultEventHandler{} initializer directly.

0 commit comments

Comments
 (0)