diff --git a/tool/kratos-gen-project/main.go b/tool/kratos-gen-project/main.go index af27c6ee6..946731a72 100644 --- a/tool/kratos-gen-project/main.go +++ b/tool/kratos-gen-project/main.go @@ -53,7 +53,7 @@ func main() { cli.BoolFlag{ Name: "grpc", Usage: "只使用grpc 不使用http", - Destination: &p.onlyHTTP, + Destination: &p.onlyGRPC, }, cli.BoolFlag{ Name: "proto",