diff options
| author | Tomas Aschan <[email protected]> | 2025-08-29 21:59:56 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-29 21:59:56 +0200 |
| commit | fd649b20e66a30631ee35bba78164180d02730d4 (patch) | |
| tree | 321b27604470eed0b00615ea41f0f32f9bf8104a /count.go | |
| parent | d66f0ce2a7f887f0ff5f5af48649f3a01b3f0566 (diff) | |
| parent | 1db553c27f5b9952dbb6484ed9999547b9e7dfb2 (diff) | |
Merge branch 'master' into fix-errhelp
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) } |
