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