From 8f8a661e782185b48741947ddd2a48a9a9afce33 Mon Sep 17 00:00:00 2001 From: Stanislav Chlebec Date: Thu, 8 Nov 2018 11:49:07 +0100 Subject: fix typos Change-Id: I3f56a527a823e97d3bf79c02de9128f98ea9864b Signed-off-by: Stanislav Chlebec Issue-ID: AAF-582 --- src/kube2msb/vendor/github.com/spf13/pflag/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit 1.2.3-korg