Skip to content

Commit 20b0f21

Browse files
Bump github.com/spf13/pflag from 1.0.6 to 1.0.7 in the go group (#36)
Bumps the go group with 1 update: [github.com/spf13/pflag](https://github.com/spf13/pflag). Updates `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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 8838fe1 commit 20b0f21

File tree

13 files changed

+534
-37
lines changed

13 files changed

+534
-37
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/gorilla/mux v1.8.1
88
github.com/miekg/pkcs11 v1.1.1
99
github.com/pkg/errors v0.9.1
10-
github.com/spf13/pflag v1.0.6
10+
github.com/spf13/pflag v1.0.7
1111
go.uber.org/zap v1.27.0
1212
software.sslmate.com/src/go-pkcs12 v0.5.0
1313
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
1010
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
1111
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
1212
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
13-
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
14-
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
13+
github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M=
14+
github.com/spf13/pflag v1.0.7/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
1515
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
1616
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
1717
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=

vendor/github.com/spf13/pflag/README.md

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/spf13/pflag/bool_func.go

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/spf13/pflag/count.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/spf13/pflag/errors.go

Lines changed: 149 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)