summaryrefslogtreecommitdiff
path: root/vendor/github.com/spf13/pflag/count.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/spf13/pflag/count.go')
-rw-r--r--vendor/github.com/spf13/pflag/count.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/spf13/pflag/count.go b/vendor/github.com/spf13/pflag/count.go
index a0b2679f7..d49c0143c 100644
--- a/vendor/github.com/spf13/pflag/count.go
+++ b/vendor/github.com/spf13/pflag/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)
}