From de47bdd2d1082fdcc88a829317fbf377766e8fd7 Mon Sep 17 00:00:00 2001 From: raitonoberu Date: Sat, 16 Jul 2022 18:08:56 +0700 Subject: [PATCH] Print config location on first launch --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index 35ca0a7..81789ba 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -54,7 +54,7 @@ var rootCmd = &coral.Command{ if !cmd.Flags().Changed("config") && errors.Is(err, os.ErrNotExist) { conf = config.New() fmt.Print(banner + "\n") - fmt.Printf("Config will be stored in %s\n", config.Directory) + fmt.Printf("Config file location: %s\n", config.Path) config.Save(conf) } else { return fmt.Errorf("couldn't load config: %w", err)