aboutsummaryrefslogtreecommitdiff
path: root/count.go
diff options
context:
space:
mode:
authorco63oc <[email protected]>2025-05-06 14:47:37 +0800
committerco63oc <[email protected]>2025-05-06 14:47:37 +0800
commit155e7f39ce86bdc58e103be0e6c786df26f04c73 (patch)
tree84bdddc0a15cb99f04f55e8837a9a8e73dc43634 /count.go
parentd661846b4df0d6611ad95577ddfb240474d21b7c (diff)
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)
}