diff --git a/tools/goctl/goctl.go b/tools/goctl/goctl.go index 4bdcec81..b34b038d 100644 --- a/tools/goctl/goctl.go +++ b/tools/goctl/goctl.go @@ -468,7 +468,7 @@ var commands = []cli.Command{ { Name: "protoc", 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", Action: rpc.ZRPC, Flags: []cli.Flag{