From 9c1059e8ec4e8a294dd7c2130d933e0d6b1592c8 Mon Sep 17 00:00:00 2001 From: Amolith Date: Sun, 5 Jun 2022 20:26:11 -0400 Subject: [PATCH] config: print specified path when not found --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 3c15addd4f22405714941709e3b108e0d940522c..d27089fa4a38431ffe0ab67f2861d9bc68def368 100644 --- a/config.go +++ b/config.go @@ -10,7 +10,7 @@ import ( func (m *model) parseConfig(configFile *string) { configBytes, err := os.ReadFile(*configFile) if err != nil { - log.Println("Config file not found, writing default values to config.yaml") + log.Println("Config file not found, writing default values to", *flagConfig) writeDefaultConfig() os.Exit(0) }