From f81b062786e71e86eba3f37ec533a563c46ee15c Mon Sep 17 00:00:00 2001 From: cuishuang Date: Wed, 1 Jun 2022 14:48:46 +0800 Subject: [PATCH] fix some typos Signed-off-by: cuishuang --- cmd/grpcurl/grpcurl.go | 2 +- format.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/grpcurl/grpcurl.go b/cmd/grpcurl/grpcurl.go index 6707837..bda5e3c 100644 --- a/cmd/grpcurl/grpcurl.go +++ b/cmd/grpcurl/grpcurl.go @@ -109,7 +109,7 @@ var ( separator.`)) allowUnknownFields = flags.Bool("allow-unknown-fields", false, prettify(` When true, the request contents, if 'json' format is used, allows - unkown fields to be present. They will be ignored when parsing + unknown fields to be present. They will be ignored when parsing the request.`)) connectTimeout = flags.Float64("connect-timeout", 0, prettify(` The maximum time, in seconds, to wait for connection to be established. diff --git a/format.go b/format.go index 2f3d7d5..20de407 100644 --- a/format.go +++ b/format.go @@ -428,7 +428,7 @@ type DefaultEventHandler struct { // the given output. If verbose is true, all events are logged. Otherwise, only // response messages are logged. // -// Deprecated: NewDefaultEventHandler exists for compatability. +// Deprecated: NewDefaultEventHandler exists for compatibility. // It doesn't allow fine control over the `VerbosityLevel` // and provides only 0 and 1 options (which corresponds to the `verbose` argument). // Use DefaultEventHandler{} initializer directly.