Skip to content

Commit

Permalink
chore(flag): use -D instead of -d
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Sep 19, 2023
1 parent 59670bf commit 62fef96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var (

func init() {
flag.StringVar(&configFile, "c", "", "设定配置文件")
flag.BoolVar(&debug, "d", false, "调试模式")
flag.BoolVar(&debug, "D", false, "调试模式")
viper.SetDefault("mail.driver", driver.TypeAliyun)
}

Expand Down

0 comments on commit 62fef96

Please sign in to comment.