update error message for config generate

This commit is contained in:
Anand Babu (AB) Periasamy
2015-04-18 19:05:38 -07:00
parent 808f9529e8
commit 8635773258
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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.")
+1 -1
View File
@@ -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