fix(cli): improve logging when folders does not exists

This commit is contained in:
bergquist
2016-03-07 16:41:22 +01:00
parent 7ef62d28a5
commit 1a6af064b0
2 changed files with 12 additions and 5 deletions

View File

@ -11,7 +11,7 @@ func runCommand(command func(commandLine CommandLine) error) func(context *cli.C
cmd := &contextCommandLine{context}
if err := command(cmd); err != nil {
log.Errorf("%v\n\n", err)
log.Errorf("%s\n\n", err)
cmd.ShowHelp()
os.Exit(1)