aboutsummaryrefslogtreecommitdiff
path: root/count.go
diff options
context:
space:
mode:
authorTomas Aschan <[email protected]>2025-05-07 08:50:24 +0200
committerGitHub <[email protected]>2025-05-07 08:50:24 +0200
commit957ea4b77e38a9c6673053aa3513a727393b6941 (patch)
tree84bdddc0a15cb99f04f55e8837a9a8e73dc43634 /count.go
parentd661846b4df0d6611ad95577ddfb240474d21b7c (diff)
parent155e7f39ce86bdc58e103be0e6c786df26f04c73 (diff)
Merge pull request #428 from co63oc/fix1
Fix typos
Diffstat (limited to 'count.go')
-rw-r--r--count.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/count.go b/count.go
index a0b2679..d49c014 100644
--- a/count.go
+++ b/count.go
@@ -85,7 +85,7 @@ func (f *FlagSet) CountP(name, shorthand string, usage string) *int {
// Count defines a count flag with specified name, default value, and usage string.
// The return value is the address of an int variable that stores the value of the flag.
-// A count flag will add 1 to its value evey time it is found on the command line
+// A count flag will add 1 to its value every time it is found on the command line
func Count(name string, usage string) *int {
return CommandLine.CountP(name, "", usage)
}