Permalink
Browse files
Fix the cli.Exitf invocations in main.go
- Loading branch information...
Showing
with
2 additions
and
2 deletions.
-
+2
−2
main.go
|
|
@@ -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