From c6c63429d7b37dd8ade617fbb67bf7f5f0b85cb2 Mon Sep 17 00:00:00 2001 From: Peter Sutter Date: Thu, 9 Dec 2021 16:57:56 +0100 Subject: [PATCH] fix comment regarding config names --- cmd/root.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index ed4308f..6bab794 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -73,7 +73,7 @@ func initConfig() { configPath := filepath.Join(home, gardenHomeFolder) - // Search config in $HOME/.garden or in path provided with the env variable GL_HOME with name ".gardenlogin" (without extension) or name from env variable GL_CONFIG_NAME. + // Search config in ~/.garden or in path provided with the env variable GL_HOME with name "gardenlogin" (without extension) or name from env variable GL_CONFIG_NAME. envHomeDir, err := homedir.Expand(os.Getenv(envGardenHomeDir)) cobra.CheckErr(err) @@ -167,7 +167,7 @@ func addGardenctlV2Config() { configPath := filepath.Join(home, gardenHomeFolder) - // Search config in $HOME/.garden or in path provided with the env variable GCTL_HOME with name ".garden-login" (without extension) or name from env variable GCTL_CONFIG_NAME. + // Search config in ~/.garden or in path provided with the env variable GCTL_HOME with name "gardenctl-v2" (without extension) or name from env variable GCTL_CONFIG_NAME. envHomeDir, err := homedir.Expand(os.Getenv(envGardenHomeDir)) cobra.CheckErr(err)