From 46e59ee72e782bfc223058830b7a016a84108bdf Mon Sep 17 00:00:00 2001 From: Andreas Ulm Date: Thu, 9 May 2019 10:59:17 +0200 Subject: [PATCH] fixed config variable Signed-off-by: Andreas Ulm --- cmd/flags.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/flags.go b/cmd/flags.go index 97ec1c9..dd9c128 100644 --- a/cmd/flags.go +++ b/cmd/flags.go @@ -44,7 +44,7 @@ var OutputFlag = cli.StringFlag{ var ConfigFlag = cli.StringFlag{ Name: "config, c", Usage: "Specify tea.yml path", - Destination: &outputValue, + Destination: &configValue, } // DefaultFlags defines flags that should be available @@ -69,7 +69,7 @@ var RepoDefaultFlags = append([]cli.Flag{ func initCommand() (*Login, string, string) { err := loadConfig(yamlConfigPath) if err != nil { - log.Fatal("load config file failed", yamlConfigPath) + log.Fatal("load config file failed ", yamlConfigPath) } var login *Login