aboutsummaryrefslogtreecommitdiff
path: root/flag.go
diff options
context:
space:
mode:
authorAlbert Nigmatzianov <[email protected]>2017-03-25 11:43:58 +0500
committerAlbert Nigmatzianov <[email protected]>2017-03-25 11:43:58 +0500
commitb205ad1bdd46b40a7311c81e495169e27affe1c0 (patch)
tree0b754416488274f31bc3b3c7e6927c122531d50a /flag.go
parent9ff6c6923cfffbcd502984b8e0c80539a94968b7 (diff)
Change `ogier` to `spf13` in docs and README
Diffstat (limited to 'flag.go')
-rw-r--r--flag.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/flag.go b/flag.go
index 746af63..cf5134e 100644
--- a/flag.go
+++ b/flag.go
@@ -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