File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const (
39
39
)
40
40
41
41
// FParseErrWhitelist configures Flag parse errors to be ignored
42
- type FParseErrWhitelist flag.ParseErrorsWhitelist
42
+ type FParseErrWhitelist flag.ParseErrorsAllowlist
43
43
44
44
// Group Structure to manage groups for commands
45
45
type Group struct {
@@ -1877,7 +1877,7 @@ func (c *Command) ParseFlags(args []string) error {
1877
1877
c .mergePersistentFlags ()
1878
1878
1879
1879
// do it here after merging all flags and just before parse
1880
- c .Flags ().ParseErrorsWhitelist = flag .ParseErrorsWhitelist (c .FParseErrWhitelist )
1880
+ c .Flags ().ParseErrorsAllowlist = flag .ParseErrorsAllowlist (c .FParseErrWhitelist )
1881
1881
1882
1882
err := c .Flags ().Parse (args )
1883
1883
// Print warnings if they occurred (e.g. deprecated flag messages).
Original file line number Diff line number Diff line change 5
5
require (
6
6
github.com/cpuguy83/go-md2man/v2 v2.0.6
7
7
github.com/inconshreveable/mousetrap v1.1.0
8
- github.com/spf13/pflag v1.0.6
8
+ github.com/spf13/pflag v1.0.8
9
9
gopkg.in/yaml.v3 v3.0.1
10
10
)
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2
4
4
github.com/inconshreveable/mousetrap v1.1.0 /go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw =
5
5
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk =
6
6
github.com/russross/blackfriday/v2 v2.1.0 /go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM =
7
- github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o =
8
- github.com/spf13/pflag v1.0.6 /go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg =
7
+ github.com/spf13/pflag v1.0.8 h1:/v546uKZ4gFGHpyXvV6CNKDeJBu4l5PRvxwQvdWrc0I =
8
+ github.com/spf13/pflag v1.0.8 /go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg =
9
9
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
10
10
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
11
11
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA =
You can’t perform that action at this time.
0 commit comments