diff options
| author | Albert Nigmatzianov <[email protected]> | 2017-04-17 18:53:57 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-04-17 18:53:57 +0200 |
| commit | d627760950273646f006d2b4f2dd815ba6d9556e (patch) | |
| tree | daf5551c214ae05268b957a612ae2d3ff9fd4090 /flag.go | |
| parent | e453343e6260b4a3a89f1f0e10a2fbb07f8d9750 (diff) | |
| parent | b205ad1bdd46b40a7311c81e495169e27affe1c0 (diff) | |
Merge pull request #116 from bogem/fixdocs
Change `ogier` to `spf13` in docs and README
Diffstat (limited to 'flag.go')
| -rw-r--r-- | flag.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,9 +16,9 @@ pflag is a drop-in replacement of Go's native flag package. If you import pflag under the name "flag" then all code should continue to function with no changes. - import flag "github.com/ogier/pflag" + import flag "github.com/spf13/pflag" - There is one exception to this: if you directly instantiate the Flag struct +There is one exception to this: if you directly instantiate the Flag struct there is one more field "Shorthand" that you will need to set. Most code never instantiates this struct directly, and instead uses functions such as String(), BoolVar(), and Var(), and is therefore |
