From aa470890052837051c340935d000a469bab80ad0 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 2 Aug 2025 18:51:59 +0000 Subject: [PATCH] Update module github.com/spf13/pflag to v1.0.7 (#794) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/spf13/pflag](https://github.com/spf13/pflag) | `v1.0.6` -> `v1.0.7` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fspf13%2fpflag/v1.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fspf13%2fpflag/v1.0.6/v1.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
spf13/pflag (github.com/spf13/pflag) ### [`v1.0.7`](https://github.com/spf13/pflag/releases/tag/v1.0.7) [Compare Source](https://github.com/spf13/pflag/compare/v1.0.6...v1.0.7) #### What's Changed - Fix defaultIsZeroValue check for generic Value types by [@​MidnightRocket](https://github.com/MidnightRocket) in https://github.com/spf13/pflag/pull/422 - feat: Use structs for errors returned by pflag. by [@​eth-p](https://github.com/eth-p) in https://github.com/spf13/pflag/pull/425 - Fix typos by [@​co63oc](https://github.com/co63oc) in https://github.com/spf13/pflag/pull/428 - fix [#​423](https://github.com/spf13/pflag/issues/423) : Add helper function and some documentation to parse shorthand go test flags. by [@​valdar](https://github.com/valdar) in https://github.com/spf13/pflag/pull/424 - add support equivalent to golang flag.TextVar(), also fixes the test failure as described in [#​368](https://github.com/spf13/pflag/issues/368) by [@​hujun-open](https://github.com/hujun-open) in https://github.com/spf13/pflag/pull/418 - add support for Func() and BoolFunc() [#​426](https://github.com/spf13/pflag/issues/426) by [@​LeGEC](https://github.com/LeGEC) in https://github.com/spf13/pflag/pull/429 - fix: correct argument length check in FlagSet.Parse by [@​ShawnJeffersonWang](https://github.com/ShawnJeffersonWang) in https://github.com/spf13/pflag/pull/409 - fix usage message for func flags, fix arguments order by [@​LeGEC](https://github.com/LeGEC) in https://github.com/spf13/pflag/pull/431 - Add support for time.Time flags by [@​max-frank](https://github.com/max-frank) in https://github.com/spf13/pflag/pull/348 #### New Contributors - [@​MidnightRocket](https://github.com/MidnightRocket) made their first contribution in https://github.com/spf13/pflag/pull/422 - [@​eth-p](https://github.com/eth-p) made their first contribution in https://github.com/spf13/pflag/pull/425 - [@​co63oc](https://github.com/co63oc) made their first contribution in https://github.com/spf13/pflag/pull/428 - [@​valdar](https://github.com/valdar) made their first contribution in https://github.com/spf13/pflag/pull/424 - [@​hujun-open](https://github.com/hujun-open) made their first contribution in https://github.com/spf13/pflag/pull/418 - [@​LeGEC](https://github.com/LeGEC) made their first contribution in https://github.com/spf13/pflag/pull/429 - [@​ShawnJeffersonWang](https://github.com/ShawnJeffersonWang) made their first contribution in https://github.com/spf13/pflag/pull/409 - [@​max-frank](https://github.com/max-frank) made their first contribution in https://github.com/spf13/pflag/pull/348 **Full Changelog**: https://github.com/spf13/pflag/compare/v1.0.6...v1.0.7
--- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/794 Reviewed-by: earl-warren Co-authored-by: Renovate Bot Co-committed-by: Renovate Bot --- go.mod | 2 +- go.sum | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index d6980ea4..7e8c08b5 100644 --- a/go.mod +++ b/go.mod @@ -32,7 +32,7 @@ require ( github.com/rhysd/actionlint v1.7.7 github.com/sirupsen/logrus v1.9.3 github.com/spf13/cobra v1.9.1 - github.com/spf13/pflag v1.0.6 + github.com/spf13/pflag v1.0.7 github.com/stretchr/testify v1.10.0 github.com/timshannon/bolthold v0.0.0-20240314194003-30aac6950928 go.etcd.io/bbolt v1.4.2 diff --git a/go.sum b/go.sum index 4d62e14e..a04f560f 100644 --- a/go.sum +++ b/go.sum @@ -176,8 +176,9 @@ github.com/skeema/knownhosts v1.3.0 h1:AM+y0rI04VksttfwjkSTNQorvGqmwATnvnAHpSgc0 github.com/skeema/knownhosts v1.3.0/go.mod h1:sPINvnADmT/qYH1kfv+ePMmOBTH6Tbl7b5LvTDjFK7M= github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo= github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0= -github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o= github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M= +github.com/spf13/pflag v1.0.7/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=