From 4667cdb6e429c0096ba33156ca460ffc47801d00 Mon Sep 17 00:00:00 2001 From: Rene Zbinden Date: Tue, 18 Feb 2020 07:03:40 +0100 Subject: [PATCH] change help exit code to 0 --- help.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help.go b/help.go index 0f4dfe0..0ea9004 100644 --- a/help.go +++ b/help.go @@ -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 }