diff options
Diffstat (limited to 'src/kube2msb')
-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. |