Fixed file extension for config file in paramter documentation

This commit is contained in:
Philipp Wolfer 2023-12-09 17:42:03 +01:00
parent 0b1806367f
commit 08514e5eac
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B

View file

@ -58,7 +58,7 @@ func init() {
configDir := config.DefaultConfigDir()
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "",
fmt.Sprintf("config file (default is %s/scotty.yaml)", configDir))
fmt.Sprintf("config file (default is %s/scotty.toml)", configDir))
// Cobra also supports local flags, which will only run
// when this action is called directly.