From 86357732585a1b61536da33289c6a6d7537876fa Mon Sep 17 00:00:00 2001 From: "Anand Babu (AB) Periasamy" Date: Sat, 18 Apr 2015 19:05:23 -0700 Subject: [PATCH] update error message for config generate --- cmd-config.go | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd-config.go b/cmd-config.go index fb51394f..b868d9f5 100644 --- a/cmd-config.go +++ b/cmd-config.go @@ -276,7 +276,7 @@ func doConfigCmd(ctx *cli.Context) { default: // unexpected error log.Debug.Println(iodine.New(err, nil)) - console.Fatalln("mc: Unable to generate config file", configPath) + console.Fatalln("DEBUG mc: Unable to generate config file", configPath) } } console.Infoln("mc: Configuration written to " + configPath + ". Please update your access credentials.") diff --git a/main.go b/main.go index 8af0c242..f29f0793 100644 --- a/main.go +++ b/main.go @@ -107,7 +107,7 @@ func main() { } app.After = func(ctx *cli.Context) error { if !isMcConfigExist() && ctx.Command.Name != "config" { - console.Fatalln("mc: error ``mc`` is not configured. Please run \"mc config\".") + console.Fatalln("mc: error ``mc`` is not configured. Please run \"mc config generate\".") } return nil