grpc-go icon indicating copy to clipboard operation
grpc-go copied to clipboard

protoc-gen-go-grpc: confusion between --go-grpc_out and --go-grpc_opt in README

Open ggratte opened this issue 3 years ago • 3 comments

--go-grpc_out=require_unimplemented_servers should be --go-grpc_opt=require_unimplemented_servers https://github.com/grpc/grpc-go/blob/master/cmd/protoc-gen-go-grpc/README.md

ggratte avatar Sep 12 '22 04:09 ggratte

--go-grpc_out is correct if you use :. at the end as documented.

So the documentation is correct. But maybe we should change this anyway to use --go-grpc_out=. --go-grpc_opt=[etc] because it isn't the first time people have reported being confused by it.

dfawley avatar Sep 12 '22 16:09 dfawley