summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/spf13/pflag/count.go
diff options
context:
space:
mode:
authorDawid Dziurla <dawidd0811@gmail.com>2019-12-13 11:29:12 +0100
committerDawid Dziurla <dawidd0811@gmail.com>2019-12-13 11:31:04 +0100
commitbe8f589c325e7a7d78c753a2571577eb76cba4ad (patch)
tree89bd2ab275e48bba66c35a1696f21e2a7f1612d8 /vendor/github.com/spf13/pflag/count.go
parent3074ae99ead364d38c0d271df18bdf95eacfa8ea (diff)
update dependencies
Diffstat (limited to 'vendor/github.com/spf13/pflag/count.go')
-rw-r--r--vendor/github.com/spf13/pflag/count.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/spf13/pflag/count.go b/vendor/github.com/spf13/pflag/count.go
index aa126e44d..a0b2679f7 100644
--- a/vendor/github.com/spf13/pflag/count.go
+++ b/vendor/github.com/spf13/pflag/count.go
@@ -46,7 +46,7 @@ func (f *FlagSet) GetCount(name string) (int, error) {
// CountVar defines a count flag with specified name, default value, and usage string.
// The argument p points to an int variable in which to store 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 (f *FlagSet) CountVar(p *int, name string, usage string) {
f.CountVarP(p, name, "", usage)
}
@@ -69,7 +69,7 @@ func CountVarP(p *int, name, shorthand string, usage string) {
// 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 (f *FlagSet) Count(name string, usage string) *int {
p := new(int)
f.CountVarP(p, name, "", usage)