Compare commits

...

2 Commits

Author SHA1 Message Date
earth-sol
5b76a8b52b
Merge c60827e0685c3274fd98d25a68f1d42825a9084b into 773169e0c44070facd652c4b8b3fe6e6ff4d78f3 2025-03-17 03:43:06 +00:00
earth-sol
c60827e068
Update root.go 2025-03-17 11:43:03 +08:00

View File

@ -38,7 +38,7 @@ var (
) )
func init() { func init() {
rootCmd.PersistentFlags().StringVarP(&cfgFile, "config", "c", "./frpcs.toml", "config file of frps") rootCmd.PersistentFlags().StringVarP(&cfgFile, "config", "c", "./frps.toml", "config file of frps")
rootCmd.PersistentFlags().BoolVarP(&showVersion, "version", "v", false, "version of frps") rootCmd.PersistentFlags().BoolVarP(&showVersion, "version", "v", false, "version of frps")
rootCmd.PersistentFlags().BoolVarP(&strictConfigMode, "strict_config", "", true, "strict config parsing mode, unknown fields will cause errors") rootCmd.PersistentFlags().BoolVarP(&strictConfigMode, "strict_config", "", true, "strict config parsing mode, unknown fields will cause errors")