Skip to content

Commit

Permalink
Use github.com/shomron/pflag fork until spf13/pflag/pull/173 is merged
Browse files Browse the repository at this point in the history
Signed-off-by: Oren Shomron <shomron@gmail.com>
  • Loading branch information
shomron committed Aug 29, 2018
1 parent 99dc123 commit 5d46736
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bash_completions.go
Expand Up @@ -8,7 +8,7 @@ import (
"sort"
"strings"

"github.com/spf13/pflag"
"github.com/shomron/pflag"
)

// Annotations for Bash completion.
Expand Down
2 changes: 1 addition & 1 deletion command.go
Expand Up @@ -24,7 +24,7 @@ import (
"sort"
"strings"

flag "github.com/spf13/pflag"
flag "github.com/shomron/pflag"
)

// FParseErrWhitelist configures Flag parse errors to be ignored
Expand Down
2 changes: 1 addition & 1 deletion command_test.go
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"testing"

"github.com/spf13/pflag"
"github.com/shomron/pflag"
)

func emptyRun(*Command, []string) {}
Expand Down
2 changes: 1 addition & 1 deletion doc/man_docs.go
Expand Up @@ -24,8 +24,8 @@ import (
"time"

"github.com/cpuguy83/go-md2man/md2man"
"github.com/shomron/pflag"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
)

// GenManTree will generate a man page for this command and all descendants
Expand Down
3 changes: 1 addition & 2 deletions doc/yaml_docs.go
Expand Up @@ -21,9 +21,8 @@ import (
"sort"
"strings"

"github.com/shomron/pflag"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"gopkg.in/yaml.v2"
)

type cmdOption struct {
Expand Down

0 comments on commit 5d46736

Please sign in to comment.