From 9e20b1bbfe0fac1ac2e015223aa820a722a51b9a Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Sun, 17 Apr 2022 21:17:31 +0800 Subject: [PATCH] chhore: fix usage typo (#1797) --- tools/goctl/goctl.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/goctl/goctl.go b/tools/goctl/goctl.go index 9615dedb..cec953e9 100644 --- a/tools/goctl/goctl.go +++ b/tools/goctl/goctl.go @@ -139,7 +139,7 @@ var commands = []cli.Command{ { Name: "new", Usage: "fast create api service", - UsageText: "example: goctl api new [options] server_name", + UsageText: "example: goctl api new [options] service-name", Action: new.CreateServiceCommand, Flags: []cli.Flag{ cli.StringFlag{ @@ -514,7 +514,7 @@ var commands = []cli.Command{ { Name: "new", Usage: `generate rpc demo service`, - UsageText: "example: goctl rpc new [options] service_name", + UsageText: "example: goctl rpc new [options] service-name", Flags: []cli.Flag{ cli.StringFlag{ Name: "style",