diff --git a/cmd/frps/root.go b/cmd/frps/root.go index c2732899..677183a7 100644 --- a/cmd/frps/root.go +++ b/cmd/frps/root.go @@ -38,7 +38,7 @@ var ( ) 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(&strictConfigMode, "strict_config", "", true, "strict config parsing mode, unknown fields will cause errors")