From 5db71ed6571455e08d5e890a77028632a033807f Mon Sep 17 00:00:00 2001 From: Dave Rolsky Date: Tue, 21 Jan 2020 15:24:39 -0600 Subject: [PATCH] Fix missing `:=` in example code --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 75c8c7e..81b9505 100644 --- a/README.md +++ b/README.md @@ -222,7 +222,7 @@ var cli struct { func main() { ctx := kong.Parse(&cli) // Call the Run() method of the selected parsed command. - err = ctx.Run(&Context{Debug: cli.Debug}) + err := ctx.Run(&Context{Debug: cli.Debug}) ctx.FatalIfErrorf(err) }