diff --git a/config/flags.go b/config/flags.go index a7524102b..96fd6c999 100644 --- a/config/flags.go +++ b/config/flags.go @@ -30,7 +30,7 @@ func loadFlags() error { os.Exit(1) } - err = viper.BindPFlags(buxFlags) + err = viper.BindPFlag(ConfigFilePathKey, buxFlags.Lookup(ConfigFilePathKey)) if err != nil { return err }