diff --git a/cmd/kratos/internal/proto/server/server.go b/cmd/kratos/internal/proto/server/server.go index 3b8a81966..e9af0c716 100644 --- a/cmd/kratos/internal/proto/server/server.go +++ b/cmd/kratos/internal/proto/server/server.go @@ -17,7 +17,7 @@ import ( var CmdServer = &cobra.Command{ Use: "server", Short: "Generate the proto Server implementations", - Long: "Generate the proto Server implementations. Example: kratos proto server api/xxx.proto -target-dir=internal/service", + Long: "Generate the proto Server implementations. Example: kratos proto server api/xxx.proto --target-dir=internal/service", Run: run, } var targetDir string