diff options
author | dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> | 2019-09-30 12:40:08 +0000 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2019-09-30 15:03:39 +0200 |
commit | c245ef9d1b2322a35344bbf837baaf3892378bef (patch) | |
tree | 13b545f5743e8f047b1291d276334aeb11c0da97 /vendor/github.com/spf13/pflag/README.md | |
parent | 01b7af8ee9b3df1439c4da109ba11e7410108dab (diff) | |
download | podman-c245ef9d1b2322a35344bbf837baaf3892378bef.tar.gz podman-c245ef9d1b2322a35344bbf837baaf3892378bef.tar.bz2 podman-c245ef9d1b2322a35344bbf837baaf3892378bef.zip |
Bump github.com/spf13/pflag from 1.0.3 to 1.0.5
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.3 to 1.0.5.
- [Release notes](https://github.com/spf13/pflag/releases)
- [Commits](https://github.com/spf13/pflag/compare/v1.0.3...v1.0.5)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'vendor/github.com/spf13/pflag/README.md')
-rw-r--r-- | vendor/github.com/spf13/pflag/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/spf13/pflag/README.md b/vendor/github.com/spf13/pflag/README.md index b052414d1..7eacc5bdb 100644 --- a/vendor/github.com/spf13/pflag/README.md +++ b/vendor/github.com/spf13/pflag/README.md @@ -86,8 +86,8 @@ fmt.Println("ip has value ", *ip) 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 flag pointers in your code. +There are helper functions available to get the value stored in a Flag if you have a FlagSet but find +it difficult to keep up with all of the 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. |