From be48103f6da834afd7ef4e30a682af705cc051e8 Mon Sep 17 00:00:00 2001 From: Yuji Yaginuma Date: Tue, 19 Dec 2023 16:16:07 +0900 Subject: [PATCH] Fix a typo in usage This fixed `Adress` to `Address`. --- gripmock.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gripmock.go b/gripmock.go index 2b0a763a..055e88ec 100644 --- a/gripmock.go +++ b/gripmock.go @@ -18,9 +18,9 @@ import ( func main() { outputPointer := flag.String("o", "", "directory to output server.go. Default is $GOPATH/src/grpc/") grpcPort := flag.String("grpc-port", "4770", "Port of gRPC tcp server") - grpcBindAddr := flag.String("grpc-listen", "", "Adress the gRPC server will bind to. Default to localhost, set to 0.0.0.0 to use from another machine") + grpcBindAddr := flag.String("grpc-listen", "", "Address the gRPC server will bind to. Default to localhost, set to 0.0.0.0 to use from another machine") adminport := flag.String("admin-port", "4771", "Port of stub admin server") - adminBindAddr := flag.String("admin-listen", "", "Adress the admin server will bind to. Default to localhost, set to 0.0.0.0 to use from another machine") + adminBindAddr := flag.String("admin-listen", "", "Address the admin server will bind to. Default to localhost, set to 0.0.0.0 to use from another machine") stubPath := flag.String("stub", "", "Path where the stub files are (Optional)") imports := flag.String("imports", "/protobuf", "comma separated imports path. default path /protobuf is where gripmock Dockerfile install WKT protos") // for backwards compatibility