summaryrefslogtreecommitdiff
path: root/vendor/github.com/spf13/pflag/count.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-09-30 13:59:54 -0700
committerGitHub <noreply@github.com>2019-09-30 13:59:54 -0700
commitb063383390f8b23f69357d781784582e4d93c706 (patch)
tree86706e3405f01eccafd6af897784b7fe3e1c26ca /vendor/github.com/spf13/pflag/count.go
parent92a489bcdfcb16a8fa74f08b539696be2f6bd0ab (diff)
parentc245ef9d1b2322a35344bbf837baaf3892378bef (diff)
downloadpodman-b063383390f8b23f69357d781784582e4d93c706.tar.gz
podman-b063383390f8b23f69357d781784582e4d93c706.tar.bz2
podman-b063383390f8b23f69357d781784582e4d93c706.zip
Merge pull request #4144 from containers/dependabot/go_modules/github.com/spf13/pflag-1.0.5
Bump github.com/spf13/pflag from 1.0.3 to 1.0.5
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)