change help exit code to 0

This commit is contained in:
Rene Zbinden
2020-02-18 07:03:40 +01:00
committed by Alec Thomas
parent 529703d8d1
commit 4667cdb6e4
+1 -1
View File
@@ -23,7 +23,7 @@ func (h helpValue) BeforeApply(ctx *Context) error {
if err != nil {
return err
}
ctx.Kong.Exit(1)
ctx.Kong.Exit(0)
return nil
}