diff --git a/README.md b/README.md index b30330ba..3a9ec287 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.