Skip to content

Commit e61e507

Browse files
Bump github.com/spf13/pflag from 1.0.6 to 1.0.7 (#6)
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.6 to 1.0.7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/spf13/pflag/releases">github.com/spf13/pflag's releases</a>.</em></p> <blockquote> <h2>v1.0.7</h2> <h2>What's Changed</h2> <ul> <li>Fix defaultIsZeroValue check for generic Value types by <a href="https://github.com/MidnightRocket"><code>@​MidnightRocket</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/422">spf13/pflag#422</a></li> <li>feat: Use structs for errors returned by pflag. by <a href="https://github.com/eth-p"><code>@​eth-p</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/425">spf13/pflag#425</a></li> <li>Fix typos by <a href="https://github.com/co63oc"><code>@​co63oc</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/428">spf13/pflag#428</a></li> <li>fix <a href="https://redirect.github.com/spf13/pflag/issues/423">#423</a> : Add helper function and some documentation to parse shorthand go test flags. by <a href="https://github.com/valdar"><code>@​valdar</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/424">spf13/pflag#424</a></li> <li>add support equivalent to golang flag.TextVar(), also fixes the test failure as described in <a href="https://redirect.github.com/spf13/pflag/issues/368">#368</a> by <a href="https://github.com/hujun-open"><code>@​hujun-open</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/418">spf13/pflag#418</a></li> <li>add support for Func() and BoolFunc() <a href="https://redirect.github.com/spf13/pflag/issues/426">#426</a> by <a href="https://github.com/LeGEC"><code>@​LeGEC</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/429">spf13/pflag#429</a></li> <li>fix: correct argument length check in FlagSet.Parse by <a href="https://github.com/ShawnJeffersonWang"><code>@​ShawnJeffersonWang</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/409">spf13/pflag#409</a></li> <li>fix usage message for func flags, fix arguments order by <a href="https://github.com/LeGEC"><code>@​LeGEC</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/431">spf13/pflag#431</a></li> <li>Add support for time.Time flags by <a href="https://github.com/max-frank"><code>@​max-frank</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/348">spf13/pflag#348</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/MidnightRocket"><code>@​MidnightRocket</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/422">spf13/pflag#422</a></li> <li><a href="https://github.com/eth-p"><code>@​eth-p</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/425">spf13/pflag#425</a></li> <li><a href="https://github.com/co63oc"><code>@​co63oc</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/428">spf13/pflag#428</a></li> <li><a href="https://github.com/valdar"><code>@​valdar</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/424">spf13/pflag#424</a></li> <li><a href="https://github.com/hujun-open"><code>@​hujun-open</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/418">spf13/pflag#418</a></li> <li><a href="https://github.com/LeGEC"><code>@​LeGEC</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/429">spf13/pflag#429</a></li> <li><a href="https://github.com/ShawnJeffersonWang"><code>@​ShawnJeffersonWang</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/409">spf13/pflag#409</a></li> <li><a href="https://github.com/max-frank"><code>@​max-frank</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/348">spf13/pflag#348</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/spf13/pflag/compare/v1.0.6...v1.0.7">https://github.com/spf13/pflag/compare/v1.0.6...v1.0.7</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/spf13/pflag/commit/f9cbdd9ca94287ab4ef0848e67ecd77cf1361d48"><code>f9cbdd9</code></a> Merge pull request <a href="https://redirect.github.com/spf13/pflag/issues/348">#348</a> from max-frank/add-time-flag-support</li> <li><a href="https://github.com/spf13/pflag/commit/e3be2ebcffcc36be35e23d418d3e0ba86239826a"><code>e3be2eb</code></a> Reduce duplication by forwarding to sibling functions</li> <li><a href="https://github.com/spf13/pflag/commit/7cc25e3bdd8c540b243f70c366ba1f1856fcd9e9"><code>7cc25e3</code></a> Don't export <code>TimeValue</code> (yet)</li> <li><a href="https://github.com/spf13/pflag/commit/d15848db482b52179577da9738cf9702d8d28466"><code>d15848d</code></a> Remove unnecessary time test stderr dev null redirect</li> <li><a href="https://github.com/spf13/pflag/commit/c5ce22e836c6268eb270e8f28ae5e3729a27c82d"><code>c5ce22e</code></a> Use time.Time for expectations in time flag tests</li> <li><a href="https://github.com/spf13/pflag/commit/1992c5a7b88da3490ad7ac088c72dd20b466ee8d"><code>1992c5a</code></a> Add support for time.Time flags</li> <li><a href="https://github.com/spf13/pflag/commit/1c62fb2813da5f1d1b893a49180a41b3f6be3262"><code>1c62fb2</code></a> Merge pull request <a href="https://redirect.github.com/spf13/pflag/issues/431">#431</a> from LeGEC/430-fix-usage-message-for-func-flags</li> <li><a href="https://github.com/spf13/pflag/commit/1a4b5b2e5c7ee4a194cebc579bb34198187df73d"><code>1a4b5b2</code></a> fix discrepancy in order of arguments for Func() and BoolFunc() <a href="https://redirect.github.com/spf13/pflag/issues/433">#433</a></li> <li><a href="https://github.com/spf13/pflag/commit/4730aa0d979f34d4f7427d524b84043557ba72ef"><code>4730aa0</code></a> fix help message for Func and BoolFunc flags <a href="https://redirect.github.com/spf13/pflag/issues/430">#430</a></li> <li><a href="https://github.com/spf13/pflag/commit/f4c97c2487b06cff392d2958534e7195f79847fb"><code>f4c97c2</code></a> minor: fix typos in comments</li> <li>Additional commits viewable in <a href="https://github.com/spf13/pflag/compare/v1.0.6...v1.0.7">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/spf13/pflag&package-manager=go_modules&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 7324335 commit e61e507

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
github.com/liujed/goutil v0.0.0
1111
github.com/smallstep/certificates v0.28.4
1212
github.com/spf13/cobra v1.9.1
13-
github.com/spf13/pflag v1.0.6
13+
github.com/spf13/pflag v1.0.7
1414
go.uber.org/zap v1.27.0
1515
)
1616

go.sum

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,9 @@ github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
385385
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
386386
github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
387387
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
388-
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
389388
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
389+
github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M=
390+
github.com/spf13/pflag v1.0.7/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
390391
github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=
391392
github.com/stoewer/go-strcase v1.2.0 h1:Z2iHWqGXH00XYgqDmNgQbIBxf3wrNq0F3feEy0ainaU=
392393
github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8=

0 commit comments

Comments
 (0)