From d509d6b4f48884b59ef5e386ab511171300170c1 Mon Sep 17 00:00:00 2001 From: Ben Hadfield Date: Sat, 28 Sep 2019 19:03:00 +0100 Subject: [PATCH] fix typo in flag.go docstring --- flag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flag.go b/flag.go index 3c05270778..1cfa1cdb21 100644 --- a/flag.go +++ b/flag.go @@ -86,7 +86,7 @@ type RequiredFlag interface { type DocGenerationFlag interface { Flag - // TakesValue returns true of the flag takes a value, otherwise false + // TakesValue returns true if the flag takes a value, otherwise false TakesValue() bool // GetUsage returns the usage string for the flag