diff --git a/tools/goctl/internal/version/version.go b/tools/goctl/internal/version/version.go index e73efbec..77f93077 100644 --- a/tools/goctl/internal/version/version.go +++ b/tools/goctl/internal/version/version.go @@ -6,7 +6,7 @@ import ( ) // BuildVersion is the version of goctl. -const BuildVersion = "1.5.1" +const BuildVersion = "1.5.2" var tag = map[string]int{"pre-alpha": 0, "alpha": 1, "pre-bata": 2, "beta": 3, "released": 4, "": 5} diff --git a/tools/goctl/rpc/cmd.go b/tools/goctl/rpc/cmd.go index b0482ddd..d22e740e 100644 --- a/tools/goctl/rpc/cmd.go +++ b/tools/goctl/rpc/cmd.go @@ -51,6 +51,7 @@ func init() { protocCmdFlags.StringSliceVar(&cli.VarStringSliceGoGRPCOpt, "go-grpc_opt") protocCmdFlags.StringSliceVar(&cli.VarStringSlicePlugin, "plugin") protocCmdFlags.StringSliceVarP(&cli.VarStringSliceProtoPath, "proto_path", "I") + protocCmdFlags.StringVar(&cli.VarStringStyle, "style") protocCmdFlags.StringVar(&cli.VarStringZRPCOut, "zrpc_out") protocCmdFlags.StringVar(&cli.VarStringHome, "home") protocCmdFlags.StringVar(&cli.VarStringRemote, "remote")