Skip to content

Commit 1a7d7d7

Browse files
⬆️ Bump github.com/spf13/pflag from 1.0.6 to 1.0.7 in /utils (#654)
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) You can trigger a rebase of this PR 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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Monty Bot <monty-bot@arm.com>
1 parent e4c77ba commit 1a7d7d7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

changes/20250717103618.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: pflag-1.0.7

utils/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ require (
3636
github.com/sirupsen/logrus v1.9.3
3737
github.com/spaolacci/murmur3 v1.1.0
3838
github.com/spf13/afero v1.14.0
39-
github.com/spf13/pflag v1.0.6
39+
github.com/spf13/pflag v1.0.7
4040
github.com/spf13/viper v1.20.1
4141
github.com/stretchr/testify v1.10.0
4242
github.com/zailic/slogr v0.0.2-alpha

utils/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ github.com/spf13/afero v1.14.0 h1:9tH6MapGnn/j0eb0yIXiLjERO8RB6xIVZRDCX7PtqWA=
214214
github.com/spf13/afero v1.14.0/go.mod h1:acJQ8t0ohCGuMN3O+Pv0V0hgMxNYDlvdk+VTfyZmbYo=
215215
github.com/spf13/cast v1.7.1 h1:cuNEagBQEHWN1FnbGEjCXL2szYEXqfJPbP2HNUaca9Y=
216216
github.com/spf13/cast v1.7.1/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
217-
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
218-
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
217+
github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M=
218+
github.com/spf13/pflag v1.0.7/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
219219
github.com/spf13/viper v1.20.1 h1:ZMi+z/lvLyPSCoNtFCpqjy0S4kPbirhpTMwl8BkW9X4=
220220
github.com/spf13/viper v1.20.1/go.mod h1:P9Mdzt1zoHIG8m2eZQinpiBjo6kCmZSKBClNNqjJvu4=
221221
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=

0 commit comments

Comments
 (0)