From 583c0c0531f06d5278b7d917446061adc344b5cd Mon Sep 17 00:00:00 2001 From: Saakallya Biswas Date: Thu, 12 Apr 2018 17:39:13 +0530 Subject: Typo correction in flag.go (#164) --- flag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flag.go') diff --git a/flag.go b/flag.go index e7f6779..5eadc84 100644 --- a/flag.go +++ b/flag.go @@ -279,7 +279,7 @@ func (f *FlagSet) VisitAll(fn func(*Flag)) { } } -// HasFlags returns a bool to indicate if the FlagSet has any flags definied. +// HasFlags returns a bool to indicate if the FlagSet has any flags defined. func (f *FlagSet) HasFlags() bool { return len(f.formal) > 0 } -- cgit v1.2.3