Commit 0ee975f
authored
chore(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7 (#517)
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 />
[](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 8e96ab5 commit 0ee975f
File tree
13 files changed
+534
-37
lines changed- vendor
- github.com/spf13/pflag
13 files changed
+534
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | | - | |
| 224 | + | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments