diff --git a/README.md b/README.md index f1eef779..002014a3 100644 --- a/README.md +++ b/README.md @@ -328,7 +328,7 @@ func Execute() { rootCmd.Execute() } -func main() { +func initConfig() { // Don't forget to read config either from cfgFile or from home directory! if cfgFile != "" { // Use config file from the flag.