diff options
| author | co63oc <[email protected]> | 2025-05-06 14:47:37 +0800 |
|---|---|---|
| committer | co63oc <[email protected]> | 2025-05-06 14:47:37 +0800 |
| commit | 155e7f39ce86bdc58e103be0e6c786df26f04c73 (patch) | |
| tree | 84bdddc0a15cb99f04f55e8837a9a8e73dc43634 /count.go | |
| parent | d661846b4df0d6611ad95577ddfb240474d21b7c (diff) | |
Fix typos
Diffstat (limited to 'count.go')
| -rw-r--r-- | count.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) } |
