Avoid panic when printing an argument that isn't built
[4.0.23] - 2022-11-11
Fixes
Don't panic on reporting invalid-long errors when followed by invalid UTF8
(help) Clarified argument to help subcommand
[4.0.22] - 2022-11-07
Fixes
(help) Don't overflow into next-line-help early due to stale (pre-v4) padding calculations
[4.0.21] - 2022-11-07
Features
(derive)long_about and long_help attributes, without a value, force using doc comment (before it wouldn't be set if there wasn't anything different than the short help)
[4.0.20] - 2022-11-07
Fixes
(derive) Allow defaulted value parser for '()' fields
[4.0.19] - 2022-11-04
Features
ColorChoice now implements ValueEnum
[4.0.18] - 2022-10-20
Fixes
(derive) Allow #[command(skip)] to also work with enum variants with a value
[4.0.17] - 2022-10-18
Fixes
Allow using Arg::last(true) with Arg::value_hint(ValueHint::CommandWithArguments)
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 commands and options
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 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)
Updates the requirements on clap to permit the latest version.
Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
... (truncated)
Commits
010976c
chore: Release0bafd2f
docs: Update changelog8171a5f
Merge pull request #4480 from epage/panicc939de8
fix: Don't panic on non-built arg rendering95144b7
chore: Release20ecae1
docs: Update changeloge6a3529
Merge pull request #4474 from epage/utf8e9cbed3
fix(parser): Don't panic on invalid UTF-8 values45d26e0
test(parser): Show UTF8 bug4d69e56
Merge pull request #4471 from epage/assertDependabot 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 commands and options
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 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)