commit | 583c0c0531f06d5278b7d917446061adc344b5cd | [log] [tgz] |
---|---|---|
author | Saakallya Biswas <riju91@gmail.com> | Thu Apr 12 17:39:13 2018 +0530 |
committer | Eric Paris <eparis@redhat.com> | Thu Apr 12 08:09:13 2018 -0400 |
tree | 2bca02619b785e0e251b5dcd06f091bbe1eb8a45 | |
parent | 329ebf1e04800d11a25047832495199d366580f3 [diff] |
Typo correction in flag.go (#164)
diff --git a/flag.go b/flag.go index e7f6779..5eadc84 100644 --- a/flag.go +++ b/flag.go
@@ -279,7 +279,7 @@ } } -// 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 }