From ed8f4ac40891a2c1c566447c7d6f005b111e4d39 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Wed, 25 May 2016 12:07:49 -0400 Subject: [PATCH] Fix example that uses ExitCoder --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b9ebe31..11a3ea4 100644 --- a/README.md +++ b/README.md @@ -498,7 +498,7 @@ func main() { } app.Action = func(ctx *cli.Context) error { if !ctx.Bool("ginger-crouton") { - return cli.NewExitError("it is not in the soup", 86) + return cli.Exit("it is not in the soup", 86) } return nil }