aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Nigmatzianov <[email protected]>2017-04-17 18:53:57 +0200
committerGitHub <[email protected]>2017-04-17 18:53:57 +0200
commitd627760950273646f006d2b4f2dd815ba6d9556e (patch)
treedaf5551c214ae05268b957a612ae2d3ff9fd4090
parente453343e6260b4a3a89f1f0e10a2fbb07f8d9750 (diff)
parentb205ad1bdd46b40a7311c81e495169e27affe1c0 (diff)
Merge pull request #116 from bogem/fixdocs
Change `ogier` to `spf13` in docs and README
-rw-r--r--README.md6
-rw-r--r--flag.go4
2 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index eefb46d..3001fcd 100644
--- a/README.md
+++ b/README.md
@@ -270,8 +270,8 @@ func main() {
You can see the full reference documentation of the pflag package
[at godoc.org][3], or through go's standard documentation system by
running `godoc -http=:6060` and browsing to
-[http://localhost:6060/pkg/github.com/ogier/pflag][2] after
+[http://localhost:6060/pkg/github.com/spf13/pflag][2] after
installation.
-[2]: http://localhost:6060/pkg/github.com/ogier/pflag
-[3]: http://godoc.org/github.com/ogier/pflag
+[2]: http://localhost:6060/pkg/github.com/spf13/pflag
+[3]: http://godoc.org/github.com/spf13/pflag
diff --git a/flag.go b/flag.go
index 3a2e255..ddfc3ef 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