Skip to content

Commit

Permalink
fix typo: goctl protoc usage (#1502)
Browse files Browse the repository at this point in the history
Co-authored-by: anqiansong <anqiansong@bytedance.com>
  • Loading branch information
kesonan and anqiansong authored Feb 3, 2022
1 parent 5017496 commit b1ffc46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/goctl/goctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit b1ffc46

Please sign in to comment.