Permalink
Browse files

Fix the cli.Exitf invocations in main.go

  • Loading branch information...
1 parent c3aca86 commit b6f3096b2f39ebae83181697aeeff93f55329f91 @gsamokovarov committed Aug 16, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 main.go
View
@@ -13,12 +13,12 @@ func main() {
config, err := config.SetupDefault(os.Getenv("JUMP_HOME"))
if err != nil {
- cli.Exitf("bug: %s", err.Error())
+ cli.Exitf(1, "bug: %s", err.Error())
}
command, err := cli.DispatchCommand(args, "--help")
if err != nil {
- cli.Exitf("bug: %s", err.Error())
+ cli.Exitf(1, "bug: %s", err.Error())
}
command.Action(args.Rest(), config)

0 comments on commit b6f3096

Please sign in to comment.