From a04b7fd61bacc698a4b0b50332407a111e861fef Mon Sep 17 00:00:00 2001 From: anqiansong Date: Sat, 17 Sep 2022 23:28:47 +0800 Subject: [PATCH] fix #2397 --- tools/goctl/model/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/goctl/model/cmd.go b/tools/goctl/model/cmd.go index 39bd7617863c6..4b76cd2ba90db 100644 --- a/tools/goctl/model/cmd.go +++ b/tools/goctl/model/cmd.go @@ -93,7 +93,7 @@ func init() { mongoCmd.Flags().StringVar(&mongo.VarStringBranch, "branch", "", "The branch of the remote repo, it does work with --remote") mysqlCmd.PersistentFlags().BoolVar(&command.VarBoolStrict, "strict", false, "Generate model in strict mode") - mysqlCmd.PersistentFlags().StringSliceVarP(&command.VarStringSliceIgnoreColumns, "ignore-columns", "i", []string{"create_at", "created_at", "create_time", "update_at", "updated_at", "update_time"}, "Ignore columns while create or update rows") + mysqlCmd.PersistentFlags().StringSliceVarP(&command.VarStringSliceIgnoreColumns, "ignore-columns", "i", []string{"create_at", "created_at", "create_time", "update_at", "updated_at", "update_time"}, "Ignore columns while creating or updating rows") mysqlCmd.AddCommand(datasourceCmd) mysqlCmd.AddCommand(ddlCmd)