For default parsers (no parse attribute), deprecation warnings can be
silenced by opting into the new behavior by adding either #[clap(action)]
or #[clap(value_parser)] (ie requesting the default behavior for these
attributes). Alternatively, the unstable-v4 feature changes the default
away from parse to action/value_parser.
For #[clap(parse(from_flag))] replaced with #[clap(action = ArgAction::SetTrue)] (#3794)
For #[clap(parse(from_occurrences))] replaced with #[clap(action = ArgAction::Count)] though the field's type must be u8 (#3794)
For #[clap(parse(from_os_str)] for PathBuf, replace it with
#[clap(value_parser)] (as mentioned earlier this will call
value_parser!(PathBuf) which will auto-select the right ValueParser
automatically).
For #[clap(parse(try_from_str = ...)], replace it with #[clap(value_parser = ...)]
For most other cases, a type implementing TypedValueParser will be needed and specify it with #[clap(value_parser = ...)]
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)
Bumps clap_complete from 3.1.4 to 3.2.1.
Release notes
Sourced from clap_complete's releases.
... (truncated)
Changelog
Sourced from clap_complete's changelog.
... (truncated)
Commits
650a29c
chore: Release73ea5bc
chore: Release4e56acf
chore: Release45d8bb1
chore: Releasebd56054
docs(lex): Update changelogd25b805
Merge pull request #3821 from epage/test1d053e9
docs: Update changelogd72b313
test: Match rest of stylec8b45f7
Merge pull request #3820 from epage/panic3eacf5b
fix(builder): Don't double-has arg id indefault_value_ifs_os
(#3815)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)