fix typo: goctl protoc usage (#1502)

Co-authored-by: anqiansong <anqiansong@bytedance.com>
master
anqiansong 3 years ago committed by GitHub
parent 50174960e4
commit b1ffc464cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -468,7 +468,7 @@ var commands = []cli.Command{
{ {
Name: "protoc", Name: "protoc",
Usage: "generate grpc code", Usage: "generate grpc code",
UsageText: `example: goctl rpc protoc xx.proto --go_out=./pb --go-grpc=./pb --zrpc_out=.`, UsageText: `example: goctl rpc protoc xx.proto --go_out=./pb --go-grpc_out=./pb --zrpc_out=.`,
Description: "for details, see https://go-zero.dev/cn/goctl-rpc.html", Description: "for details, see https://go-zero.dev/cn/goctl-rpc.html",
Action: rpc.ZRPC, Action: rpc.ZRPC,
Flags: []cli.Flag{ Flags: []cli.Flag{

Loading…
Cancel
Save