From ff1c039599efdba91b3502262a01d5664f792947 Mon Sep 17 00:00:00 2001 From: Marvin Preuss Date: Wed, 20 Oct 2021 14:38:31 +0200 Subject: [PATCH] fix: typo in log.colors flag --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index a7c355e..9711e7c 100644 --- a/main.go +++ b/main.go @@ -269,7 +269,7 @@ func init() { //nolint:gochecknoinits,funlen viper.SetDefault("log.json", false) // Log.Colors. - rootCmd.PersistentFlags().Bool("log-colors", true, "colorful log output") + rootCmd.PersistentFlags().Bool("log.colors", true, "colorful log output") if err := viper.BindPFlag("log.colors", rootCmd.PersistentFlags().Lookup("log-colors")); err != nil { log.Fatal().Err(err).Msg("could not bind flag")