diff --git a/tools/goctl/goctl.go b/tools/goctl/goctl.go index b58e7ba5f..1055d859c 100644 --- a/tools/goctl/goctl.go +++ b/tools/goctl/goctl.go @@ -25,7 +25,7 @@ import ( ) var ( - BuildVersion = "20201119-beta" + BuildVersion = "20201125" commands = []cli.Command{ { Name: "api", @@ -207,8 +207,9 @@ var ( Usage: `generate rpc demo service`, Flags: []cli.Flag{ cli.StringFlag{ - Name: "style", - Usage: "the file naming style, lower|camel|snake,default is lower, [deprecated,use config.yaml instead]", + Name: "style", + Required: false, + Usage: "the file naming format, see [https://github.com/tal-tech/go-zero/tree/master/tools/goctl/config/readme.md]", }, cli.BoolFlag{ Name: "idea",