We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6e7365 commit a49de56Copy full SHA for a49de56
cobra/cmd/root.go
@@ -74,6 +74,6 @@ func initConfig() {
74
viper.AutomaticEnv()
75
76
if err := viper.ReadInConfig(); err == nil {
77
- fmt.Println("Using config file:", viper.ConfigFileUsed())
+ fmt.Fprintln(os.Stderr, "Using config file:", viper.ConfigFileUsed())
78
}
79
0 commit comments