chhore: fix usage typo (#1797)

This commit is contained in:
Kevin Wan
2022-04-17 21:17:31 +08:00
committed by GitHub
parent fadef0ccd9
commit 9e20b1bbfe

View File

@@ -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",