From: Stanislav Chlebec Date: Thu, 8 Nov 2018 10:49:07 +0000 (+0100) Subject: fix typos X-Git-Tag: 1.2.6~5 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=8f8a661e782185b48741947ddd2a48a9a9afce33;p=oom%2Fregistrator.git fix typos Change-Id: I3f56a527a823e97d3bf79c02de9128f98ea9864b Signed-off-by: Stanislav Chlebec Issue-ID: AAF-582 --- diff --git a/src/kube2msb/vendor/github.com/spf13/pflag/README.md b/src/kube2msb/vendor/github.com/spf13/pflag/README.md index e74dd50..0bafd38 100644 --- a/src/kube2msb/vendor/github.com/spf13/pflag/README.md +++ b/src/kube2msb/vendor/github.com/spf13/pflag/README.md @@ -85,7 +85,7 @@ fmt.Println("flagvar has value ", flagvar) ``` There are helpers function to get values later if you have the FlagSet but -it was difficult to keep up with all of the the flag pointers in your code. +it was difficult to keep up with all of the flag pointers in your code. If you have a pflag.FlagSet with a flag called 'flagname' of type int you can use GetInt() to get the int value. But notice that 'flagname' must exist and it must be an int. GetString("flagname") will fail.