aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example_test.go2
-rw-r--r--export_test.go2
-rw-r--r--flag.go2
-rw-r--r--flag_test.go4
4 files changed, 5 insertions, 5 deletions
diff --git a/example_test.go b/example_test.go
index 04a0d20..fc3eb6c 100644
--- a/example_test.go
+++ b/example_test.go
@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file.
// These examples demonstrate more intricate uses of the flag package.
-package flag_test
+package pflag_test
import (
"errors"
diff --git a/export_test.go b/export_test.go
index 7b19080..8ff8e29 100644
--- a/export_test.go
+++ b/export_test.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package flag
+package pflag
import "os"
diff --git a/flag.go b/flag.go
index 353f448..5e708d4 100644
--- a/flag.go
+++ b/flag.go
@@ -58,7 +58,7 @@
analogous to the top-level functions for the command-line
flag set.
*/
-package flag
+package pflag
import (
"errors"
diff --git a/flag_test.go b/flag_test.go
index a9561f2..8d2e407 100644
--- a/flag_test.go
+++ b/flag_test.go
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package flag_test
+package pflag_test
import (
"bytes"
- . "flag"
+ . "pflag"
"fmt"
"os"
"sort"