diff options
author | Stanislav Chlebec <stanislav.chlebec@pantheon.tech> | 2018-11-08 11:49:07 +0100 |
---|---|---|
committer | Stanislav Chlebec <stanislav.chlebec@pantheon.tech> | 2018-11-08 11:58:07 +0100 |
commit | 8f8a661e782185b48741947ddd2a48a9a9afce33 (patch) | |
tree | bbdc7d8c734918d377130f27d4264a3be13aab3b | |
parent | bead27c83ac3fd97b6c49a2ac0e01e574ce09a18 (diff) |
fix typos
Change-Id: I3f56a527a823e97d3bf79c02de9128f98ea9864b
Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>
Issue-ID: AAF-582
-rw-r--r-- | src/kube2msb/vendor/github.com/spf13/pflag/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
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. |