Skip to content

Commit 583c0c0

Browse files
riju91eparis
authored andcommitted
Typo correction in flag.go (#164)
1 parent 329ebf1 commit 583c0c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flag.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ func (f *FlagSet) VisitAll(fn func(*Flag)) {
279279
}
280280
}
281281

282-
// HasFlags returns a bool to indicate if the FlagSet has any flags definied.
282+
// HasFlags returns a bool to indicate if the FlagSet has any flags defined.
283283
func (f *FlagSet) HasFlags() bool {
284284
return len(f.formal) > 0
285285
}

0 commit comments

Comments
 (0)