Repository navigation
Show 'correct' explicit bool value syntax in help - #453
Conversation
| const defaultOutput = ` --A[=value] for bootstrapping, allow 'any' type | ||
| --Alongflagname[=value] disable bounds checking | ||
| -C, --CCC[=value] a boolean defaulting to true (default true) |
There was a problem hiding this comment.
I think I'd prefer if this said [=true|false] or something like that, to clarify that those are the only valid values. Since the implementation special-cases bool values anyway, that should be relatively straightforward to implement, I think. Not sure what the best format in the help is, though - effectively there are four ways to get two values, and that easily gets confusing:
- omit the flag, get the default value
- specify the flag without a value, get true
- specify the flag with a value, either true or false, and get that
Can we somehow convey all those effects in the help output?
There was a problem hiding this comment.
I called it value as the alternative (with varname != "") would look like [=foo] (also that [=true|false] just seemed too long...but sure, bool is special enough anyway.
Re "specify the flag without a value to get true", not sure...
ad99c53 to
666b603
Compare
tomasaschan
left a comment
There was a problem hiding this comment.
Thanks for your contribution!
pflag v1.1.0 renders boolean flags as --flag[=true|false] in usage output (spf13/pflag#453), which also widens the flag column. Update the hardcoded help text in chloggen and grater tests accordingly.
* fix(deps): update module github.com/spf13/pflag to v1.1.0 * test: update expected help output for pflag v1.1.0 pflag v1.1.0 renders boolean flags as --flag[=true|false] in usage output (spf13/pflag#453), which also widens the flag column. Update the hardcoded help text in chloggen and grater tests accordingly. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Pablo Baeyens <[email protected]>
npm: a lock refresh with the locked npm 12.2.2 at the three-day release age (`npm update --package-lock-only --ignore-scripts --before=2026-11-06T17:58:33Z`, after which `npm install --package-lock-only` changes nothing) moves 34 transitive entries. d3 7.9.0 moves to 7.9.2 (published 2026-11-03T19:46Z) with its 30 sub-package patches, which mermaid and dagre-d3-es bring in; undici to 8.12.4 (2026-11-05T08:55Z), es-toolkit to 1.53.2 (2026-11-06T09:29Z) and tough-cookie to 6.1.0 (2026-11-06T17:26Z). npm verifies the registry signatures of all 260 packages and the attestations of 81 and reports no vulnerability; the Mermaid and Markdown checks pass. The age holds OpenSpec 1.16.1 (published 2026-11-07T00:46Z) until 2026-11-10T00:46Z and markdownlint 0.42.1 (2026-11-07T04:00Z) until 2026-11-10T04:00Z. jsdom 31.0.0 is a major move of the override that replaces @mermaid-lint/core's declared ^26.1.0 with 30.1.3, so it is left for its own decision. Go: `go list -m -u` admits eight required modules at the 24-hour age, and seven move: gofrs/flock v0.13.2 (2026-11-08T00:09Z), golang.org/x/sys v0.50.0 (2026-11-06T19:57Z), bubbletea/v2 v2.1.1 (2026-10-28T10:18Z), ultraviolet a45b7c86333f (2026-10-23T06:08Z), stretchr/objx v0.8.0 (2026-10-14T14:00Z), xo/terminfo v1.3.1 (2026-11-04T22:59Z) and golang.org/x/sync v0.25.0 (2026-10-15T16:17Z). Each declares Go 1.26.0 or older, and `go mod verify` passes. spf13/pflag stays at v1.0.10. Its v1.1.0 (2026-10-29T22:26Z) prints every boolean flag in help as `--json[=true|false]` (spf13/pflag#453) and reports an invalid boolean as "must be true or false" (#469). That changes the help of every command, fails the help golden of all 28 scripts and an acceptance test, and so waits for a decision on the help format. The age holds lipgloss/v2 v2.1.0 (2026-11-09T13:15Z), golang.org/x/term v0.48.0 and golang.org/x/text v0.44.0 (2026-11-09T16:29Z). Modules that go.mod does not require stay with the modules that require them. Mise: syft 1.57.0 (released 2026-11-05T20:46Z) is locked for all six platforms. Every checksum equals the release's syft_1.57.0_checksums.txt, the attestation provenance stays, and two native relocks change nothing. syft 1.57.1 (2026-11-09T14:39Z) waits for its 24 hours until 2026-11-10T14:40Z; Mise's own minimum release age hides it too and reports every other tool current. mise-action v5.2.7 (released 2026-11-06T17:03Z, verified commit b44d12e7) logs the HTTP status and host of a failed Mise download and retries a transient failure with backoff. The CUE authority pins it, both projections are regenerated, and `tools/ci project --check` reports no drift; actions/checkout v7.0.1 and upload-artifact v7.0.2 are current. Change command-surface-end-state.
pflag v1.0.10 -> v1.1.0 renders bool flags as --flag[=true|false] in help output (spf13/pflag#453), so every generated page with bool flags differs from the committed references. Regenerate via mise run cli:docs.
* docs(cli): regenerate reference pages for pflag v1.1.0 bool flag syntax pflag v1.0.10 -> v1.1.0 renders bool flags as --flag[=true|false] in help output (spf13/pflag#453), so every generated page with bool flags differs from the committed references. Regenerate via mise run cli:docs. Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: YewFence <[email protected]>
pflag 1.1.0 (spf13/pflag#453) prints a bool flag's explicit value syntax in help, so every bool on the root reads `--debug[=true|false]` and the flag column widens to fit `--explain-cost[=true|false]`. The four root help goldens pin that text, and TestHelpGoesToStdout failed under every profile. Help is not a result document: docs/output-contract.md sends it to stdout without an envelope, so no kind changes and no schema version moves. The new rendering is accurate, since every jr bool accepts `--flag=false`. Keeping the old look would mean jr rendering its own flag usages instead of cobra's, which is code to own for a cosmetic difference. The same release rewords typed-flag parse errors (spf13/pflag#469). Measured against builds at both versions: --retries abc strconv.ParseInt: parsing "abc": invalid syntax -> must be an integer --debug=maybe strconv.ParseBool: parsing "maybe": invalid syntax -> must be true or false The code stays INVALID_USAGE and the exit stays 2, and the stability policy leaves message wording free, so nothing here is a contract change. One loss: a well-formed integer too large for its flag now also reads "must be an integer", where it used to say "value out of range".
pflag 1.1.0 renders boolean flags in usage as --flag[=true|false] (spf13/pflag#453). Regenerate the acceptance goldens and update the cmdgroup usage test accordingly. No other output changes. Co-authored-by: Isaac <[email protected]>
## What Bump `github.com/spf13/pflag` from `v1.0.10` to `v1.1.0` and regenerate the CLI reference pages that the upgrade affects. ## Why pflag v1.1.0 ([#453](spf13/pflag#453)) appends `[=true|false]` directly after Boolean flag names in `FlagUsagesWrapped` output. This changes the generated CLI help and therefore the checked-in reference under `bindings/go/cli/docs/reference/`. The dependency-only bump in #4295 left those pages stale, so the Code Generation CI job fails its clean-tree check on 30 reference pages. This PR keeps the upgrade and runs `task generate` so the committed reference matches live `ocm --help` output again. ## Changes - `bindings/go/go.mod` / `go.sum`: pflag `v1.0.10` → `v1.1.0`. - 30 regenerated `bindings/go/cli/docs/reference/ocm*.md` pages (Boolean flags now render `--flag[=true|false]`, with recalculated column alignment). ## Verification - `task generate` run twice: second run produces no diff and no untracked files (idempotent). - `ocm --help` and `ocm transfer component-version --help` match the regenerated pages (`--help[=true|false]`, `--version[=true|false]`, `--dry-run[=true|false]`, `--latest[=true|false]`). - `task bindings/go/cli:test` passes, including `cmd/generate/docs`. Supersedes #4295 (same bump, plus the required regeneration). Signed-off-by: Frederic Wilhelm <[email protected]>
## What Bump `github.com/spf13/pflag` from `v1.0.10` to `v1.1.0` and regenerate the CLI reference pages that the upgrade affects. ## Why pflag v1.1.0 ([#453](spf13/pflag#453)) appends `[=true|false]` directly after Boolean flag names in `FlagUsagesWrapped` output. This changes the generated CLI help and therefore the checked-in reference under `bindings/go/cli/docs/reference/`. The dependency-only bump in #4295 left those pages stale, so the Code Generation CI job fails its clean-tree check on 30 reference pages. This PR keeps the upgrade and runs `task generate` so the committed reference matches live `ocm --help` output again. ## Changes - `bindings/go/go.mod` / `go.sum`: pflag `v1.0.10` → `v1.1.0`. - 30 regenerated `bindings/go/cli/docs/reference/ocm*.md` pages (Boolean flags now render `--flag[=true|false]`, with recalculated column alignment). ## Verification - `task generate` run twice: second run produces no diff and no untracked files (idempotent). - `ocm --help` and `ocm transfer component-version --help` match the regenerated pages (`--help[=true|false]`, `--version[=true|false]`, `--dry-run[=true|false]`, `--latest[=true|false]`). - `task bindings/go/cli:test` passes, including `cmd/generate/docs`. Supersedes #4295 (same bump, plus the required regeneration). Signed-off-by: Frederic Wilhelm <[email protected]> fb01512
pflag 1.1.0 (spf13/pflag#453) prints a bool flag's explicit value syntax in help, so every bool on the root reads `--debug[=true|false]` and the flag column widens to fit `--explain-cost[=true|false]`. The four root help goldens pin that text, and TestHelpGoesToStdout failed under every profile. Help is not a result document: docs/output-contract.md sends it to stdout without an envelope, so no kind changes and no schema version moves. The new rendering is accurate, since every jr bool accepts `--flag=false`. Keeping the old look would mean jr rendering its own flag usages instead of cobra's, which is code to own for a cosmetic difference. The same release rewords typed-flag parse errors (spf13/pflag#469). Measured against builds at both versions: --retries abc strconv.ParseInt: parsing "abc": invalid syntax -> must be an integer --debug=maybe strconv.ParseBool: parsing "maybe": invalid syntax -> must be true or false The code stays INVALID_USAGE and the exit stays 2, and the stability policy leaves message wording free, so nothing here is a contract change. One loss: a well-formed integer too large for its flag now also reads "must be an integer", where it used to say "value out of range".
pflag 1.1.0 (spf13/pflag#453) prints a bool flag's explicit value syntax in help, so every bool on the root reads `--debug[=true|false]` and the flag column widens to fit `--explain-cost[=true|false]`. The four root help goldens pin that text, and TestHelpGoesToStdout failed under every profile. Help is not a result document: docs/output-contract.md sends it to stdout without an envelope, so no kind changes and no schema version moves. The new rendering is accurate, since every jr bool accepts `--flag=false`. Keeping the old look would mean jr rendering its own flag usages instead of cobra's, which is code to own for a cosmetic difference. The same release rewords typed-flag parse errors (spf13/pflag#469). Measured against builds at both versions: --retries abc strconv.ParseInt: parsing "abc": invalid syntax -> must be an integer --debug=maybe strconv.ParseBool: parsing "maybe": invalid syntax -> must be true or false The code stays INVALID_USAGE and the exit stays 2, and the stability policy leaves message wording free, so nothing here is a contract change. One loss: a well-formed integer too large for its flag now also reads "must be an integer", where it used to say "value out of range".
* chore(deps): bump github.com/spf13/pflag from 1.0.10 to 1.1.0 Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.10 to 1.1.0. - [Release notes](https://github.com/spf13/pflag/releases) - [Commits](spf13/pflag@v1.0.10...v1.1.0) --- updated-dependencies: - dependency-name: github.com/spf13/pflag dependency-version: 1.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * test(cli): regenerate the root help goldens for pflag 1.1.0 pflag 1.1.0 (spf13/pflag#453) prints a bool flag's explicit value syntax in help, so every bool on the root reads `--debug[=true|false]` and the flag column widens to fit `--explain-cost[=true|false]`. The four root help goldens pin that text, and TestHelpGoesToStdout failed under every profile. Help is not a result document: docs/output-contract.md sends it to stdout without an envelope, so no kind changes and no schema version moves. The new rendering is accurate, since every jr bool accepts `--flag=false`. Keeping the old look would mean jr rendering its own flag usages instead of cobra's, which is code to own for a cosmetic difference. The same release rewords typed-flag parse errors (spf13/pflag#469). Measured against builds at both versions: --retries abc strconv.ParseInt: parsing "abc": invalid syntax -> must be an integer --debug=maybe strconv.ParseBool: parsing "maybe": invalid syntax -> must be true or false The code stays INVALID_USAGE and the exit stays 2, and the stability policy leaves message wording free, so nothing here is a contract change. One loss: a well-formed integer too large for its flag now also reads "must be an integer", where it used to say "value out of range". --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kevin O'Neil <[email protected]>
pflag 1.1.0 prints every boolean flag in --help as --flag[=true|false] (spf13/pflag#453), and the command reference renders each flag through pflag so it says what --help says. Regenerated with task docs:generate. How flags are read is unchanged: --flag and --flag=false work as before. Co-Authored-By: Claude Opus 5.5 <[email protected]>
pflag 1.1.0 prints every boolean flag in --help as --flag[=true|false] (spf13/pflag#453), and the command reference renders each flag through pflag so it says what --help says. Regenerated with task docs:generate. How flags are read is unchanged: --flag and --flag=false work as before. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This PR contains the following updates: | Package | Type | Update | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | docker.gitea.com/runner-images | | digest | `b96ba46` → `139605d` | | | | [docker/login-action](https://github.com/docker/login-action) ([changelog](https://github.com/docker/login-action/compare/81c6f93d4bc991e510b342a00b419b3bb4efc5c6..8aa5831fb8d48d8f76594c7ddde61ae58019f550)) | action | digest | `81c6f93` → `8aa5831` | | | | [github.com/spf13/pflag](https://github.com/spf13/pflag) | require | minor | `v1.0.10` → `v1.1.0` |  |  | | [go](https://go.dev/) ([source](https://github.com/golang/go)) | toolchain | patch | `1.27.3` → `1.27.4` |  |  | | [golang.org/x/sync](https://pkg.go.dev/golang.org/x/sync) | require | minor | [`v0.24.0` → `v0.25.0`](https://cs.opensource.google/go/x/sync/+/refs/tags/v0.24.0...refs/tags/v0.25.0) |  |  | | [golang.org/x/sys](https://pkg.go.dev/golang.org/x/sys) | require | minor | [`v0.49.0` → `v0.50.0`](https://cs.opensource.google/go/x/sys/+/refs/tags/v0.49.0...refs/tags/v0.50.0) |  |  | | [golang.org/x/term](https://pkg.go.dev/golang.org/x/term) | require | minor | [`v0.47.0` → `v0.48.0`](https://cs.opensource.google/go/x/term/+/refs/tags/v0.47.0...refs/tags/v0.48.0) |  |  | | [golang.org/x/text](https://pkg.go.dev/golang.org/x/text) | require | minor | [`v0.43.0` → `v0.44.0`](https://cs.opensource.google/go/x/text/+/refs/tags/v0.43.0...refs/tags/v0.44.0) |  |  | | [quay.io/containers/podman](https://quay.io/containers/podman) ([source](https://github.com/podman-container-tools/podman)) | | major | `v5.8.9-immutable` → `v6.1.3-immutable` |  |  | --- ### HTTP/1 server crash due to MaxBytesReader header race in net/http [CVE-2026-97054](https://nvd.nist.gov/vuln/detail/CVE-2026-97054) / [GO-2026-6859](https://pkg.go.dev/vuln/GO-2026-6859) <details> <summary>More information</summary> #### Details For HTTP/1 servers, when MaxBytesReader's limit is exceeded, "Connection: close" header is automatically set without synchronization, which might race with another header being set explicitly in the server handler. As a result, an HTTP/1 server that utilizes MaxBytesReader or MaxBytesHandler can crash due to runtime panic if its handler reads the request body concurrently with writing the response header. #### Severity Unknown #### References - [https://go.dev/cl/862185](https://go.dev/cl/862185) - [https://go.dev/issue/82563](https://go.dev/issue/82563) - [https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM](https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM) This data is provided by [OSV](https://osv.dev/vulnerability/GO-2026-6859) and the [Go Vulnerability Database](https://github.com/golang/vulndb) ([CC-BY 4.0](https://github.com/golang/vulndb#license)). </details> --- ### Release Notes <details> <summary>spf13/pflag (github.com/spf13/pflag)</summary> ### [`v1.1.0`](https://github.com/spf13/pflag/releases/tag/v1.1.0) [Compare Source](spf13/pflag@v1.0.10...v1.1.0) It's been long enough, and enough things have been fixed, that it might be time to release a new version, even if there isn't any particular big new issue to market as the reason for this release. If you notice anything breaking, it is entirely un-intentional, but you might also have been relying on [undocumented](https://www.hyrumslaw.com/) or [buggy](https://xkcd.com/1172/) behavior. Please file an issue describing what you're doing, how it worked before this release and why it doesn't work anymore, and pin your projects to `v1.0.10` (the latest release before this one) while we decide how to address your concerns. #### What's Changed - README: update badges and minor linting fixes by [@​thaJeztah](https://github.com/thaJeztah) in [#​452](spf13/pflag#452) - Show 'correct' explicit bool value syntax in help by [@​alimpfard](https://github.com/alimpfard) in [#​453](spf13/pflag#453) - Fix for Go 1.24 by [@​pterjan](https://github.com/pterjan) in [#​460](spf13/pflag#460) - fix(map): ensure string-to-string flags maintain stable pointers by [@​brandon1024](https://github.com/brandon1024) in [#​457](spf13/pflag#457) - Fix getFlagType error message by [@​wellitonscheer](https://github.com/wellitonscheer) in [#​462](spf13/pflag#462) - update actions, and fix linting issues by [@​thaJeztah](https://github.com/thaJeztah) in [#​450](spf13/pflag#450) - fix: README.md indicating the use of godoc(deprecated) by [@​malklera](https://github.com/malklera) in [#​467](spf13/pflag#467) - Fix broken link to POSIX argument conventions by [@​tomasaschan](https://github.com/tomasaschan) in [#​464](spf13/pflag#464) - Replace raw stdlib parse errors in typed flag Set methods ([#​269](spf13/pflag#269)) by [@​reuvenharrison](https://github.com/reuvenharrison) in [#​469](spf13/pflag#469) - Extend `UnknownFlags` to `UnknownFlagsHandling` and introduce `PassUnknownFlagToArgs` ([#​337](spf13/pflag#337)) by [@​ikedam](https://github.com/ikedam) in [#​440](spf13/pflag#440) - fix: allow nil default IP flags in GetIP by [@​happysnaker](https://github.com/happysnaker) in [#​483](spf13/pflag#483) - fix: allow hex input in UintSlice by [@​happysnaker](https://github.com/happysnaker) in [#​484](spf13/pflag#484) - fix: honor custom IsBoolFlag compatibility by [@​happysnaker](https://github.com/happysnaker) in [#​487](spf13/pflag#487) - docs: clarify SortFlags example with complete runnable program by [@​happysnaker](https://github.com/happysnaker) in [#​488](spf13/pflag#488) - docs: add release process documentation by [@​happysnaker](https://github.com/happysnaker) in [#​490](spf13/pflag#490) - fix: print to set destination, not hardcoded os.Stderr by [@​quite](https://github.com/quite) in [#​502](spf13/pflag#502) - ci: bump golangci-lint to v2.13 for Go 1.27 by [@​hdimer](https://github.com/hdimer) in [#​508](spf13/pflag#508) - Initialize the target map when a StringToString flag has a nil default by [@​nikolauspschuetz](https://github.com/nikolauspschuetz) in [#​506](spf13/pflag#506) - fix: honour deprecated ParseErrorsWhitelist.UnknownFlagsHandling by [@​lenamonj](https://github.com/lenamonj) in [#​507](spf13/pflag#507) - test: add StringSlice Append coverage by [@​LY-19418](https://github.com/LY-19418) in [#​504](spf13/pflag#504) - Keep wrapping after an unbreakable usage word by [@​AzazelSensei](https://github.com/AzazelSensei) in [#​503](spf13/pflag#503) - Validate IP slice values before appending or replacing by [@​agammann](https://github.com/agammann) in [#​513](spf13/pflag#513) - fix(ci): Use the latest golangci-lint release by [@​tomasaschan](https://github.com/tomasaschan) in [#​525](spf13/pflag#525) - Reject IPv6 addresses as IPv4 masks by [@​yuefdev](https://github.com/yuefdev) in [#​524](spf13/pflag#524) - Report the flag name as typed in deprecation warnings by [@​hdimer](https://github.com/hdimer) in [#​500](spf13/pflag#500) - Document non-interspersed argument parsing by [@​yuefdev](https://github.com/yuefdev) in [#​523](spf13/pflag#523) - Preserve trailing whitespace in StringToString formatting by [@​r4venrudy](https://github.com/r4venrudy) in [#​522](spf13/pflag#522) - Reject extra CSV records in StringToString arguments by [@​Harshil-1603](https://github.com/Harshil-1603) in [#​521](spf13/pflag#521) - Preserve current string values in CopyToGoFlagSet by [@​adenzhou1350](https://github.com/adenzhou1350) in [#​520](spf13/pflag#520) - Fix type identification and mismatch checks for text flags by [@​dewanshshekhar](https://github.com/dewanshshekhar) in [#​526](spf13/pflag#526) - fix: enforce native integer flag bounds on 32-bit platforms by [@​gdpu11](https://github.com/gdpu11) in [#​534](spf13/pflag#534) - fix: preserve count flag values when parsing fails by [@​gdpu11](https://github.com/gdpu11) in [#​533](spf13/pflag#533) #### New Contributors - [@​alimpfard](https://github.com/alimpfard) made their first contribution in [#​453](spf13/pflag#453) - [@​pterjan](https://github.com/pterjan) made their first contribution in [#​460](spf13/pflag#460) - [@​brandon1024](https://github.com/brandon1024) made their first contribution in [#​457](spf13/pflag#457) - [@​wellitonscheer](https://github.com/wellitonscheer) made their first contribution in [#​462](spf13/pflag#462) - [@​malklera](https://github.com/malklera) made their first contribution in [#​467](spf13/pflag#467) - [@​reuvenharrison](https://github.com/reuvenharrison) made their first contribution in [#​469](spf13/pflag#469) - [@​ikedam](https://github.com/ikedam) made their first contribution in [#​440](spf13/pflag#440) - [@​happysnaker](https://github.com/happysnaker) made their first contribution in [#​483](spf13/pflag#483) - [@​quite](https://github.com/quite) made their first contribution in [#​502](spf13/pflag#502) - [@​hdimer](https://github.com/hdimer) made their first contribution in [#​508](spf13/pflag#508) - [@​nikolauspschuetz](https://github.com/nikolauspschuetz) made their first contribution in [#​506](spf13/pflag#506) - [@​lenamonj](https://github.com/lenamonj) made their first contribution in [#​507](spf13/pflag#507) - [@​LY-19418](https://github.com/LY-19418) made their first contribution in [#​504](spf13/pflag#504) - [@​AzazelSensei](https://github.com/AzazelSensei) made their first contribution in [#​503](spf13/pflag#503) - [@​agammann](https://github.com/agammann) made their first contribution in [#​513](spf13/pflag#513) - [@​yuefdev](https://github.com/yuefdev) made their first contribution in [#​524](spf13/pflag#524) - [@​r4venrudy](https://github.com/r4venrudy) made their first contribution in [#​522](spf13/pflag#522) - [@​Harshil-1603](https://github.com/Harshil-1603) made their first contribution in [#​521](spf13/pflag#521) - [@​adenzhou1350](https://github.com/adenzhou1350) made their first contribution in [#​520](spf13/pflag#520) - [@​dewanshshekhar](https://github.com/dewanshshekhar) made their first contribution in [#​526](spf13/pflag#526) - [@​gdpu11](https://github.com/gdpu11) made their first contribution in [#​534](spf13/pflag#534) **Full Changelog**: <spf13/pflag@v1.0.10...v1.1.0> </details> <details> <summary>podman-container-tools/podman (quay.io/containers/podman)</summary> ### [`v6.1.3`](https://github.com/podman-container-tools/podman/releases/tag/v6.1.3) [Compare Source](podman-container-tools/podman@v5.8.9...v6.1.3) ##### Security - This release addresses [CVE-2026-94603](GHSA-2cvf-wqm6-wr9g), where a `podman run` on a checkpoint image (any image with the `io.podman.annotations.checkpoint.runtime.name` annotation) could disable all sandboxing, including sandboxing specified by the user, when the container was created. ##### Breaking Changes - Removed support for checkpoint images in `podman run` due to serious security concerns with the different security models of running images and running checkpoints. Checkpoints ignore user-specified security configuration and are very difficult to run safely. </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Between 12:00 AM and 03:59 AM, only on Monday (`* 0-3 * * 1`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjIzOS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://gitea.com/gitea/runner/pulls/1414 Reviewed-by: silverwind <[email protected]> Co-authored-by: Renovate Bot <[email protected]>
Upstream (spf13/pflag) released the change that now includes `[=true|false]` in the generated help text. This means we can re-generate the docs and can drop the `(true, false)` hints from existing bool flags. The version bump also now respects the default `nil` value we pass into `StringToString()`, so the tests have been fixed accordingly. Fixes #1176 See also spf13/pflag#453
Here's my suggestion from #410 to (begin to) resolve it.