diff options
| author | Saakallya Biswas <[email protected]> | 2018-04-12 17:39:13 +0530 |
|---|---|---|
| committer | Eric Paris <[email protected]> | 2018-04-12 08:09:13 -0400 |
| commit | 583c0c0531f06d5278b7d917446061adc344b5cd (patch) | |
| tree | 2bca02619b785e0e251b5dcd06f091bbe1eb8a45 | |
| parent | 329ebf1e04800d11a25047832495199d366580f3 (diff) | |
Typo correction in flag.go (#164)v1.0.1
| -rw-r--r-- | flag.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |
