Skip to content

[Merged by Bors] - Update Rust crate clap to 4.1.4 #549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

stackable-bot
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
clap dependencies minor 4.0.32 -> 4.1.4

Release Notes

clap-rs/clap

v4.1.4

Compare Source

Fixes
  • (help) Respect disable_colored_help when using arg_required_else_help
Performance
  • Speed up compiling arg! macro

v4.1.3

Compare Source

Fixes
  • (error) Improve suggested flag/value/subcommand when two share a long preifx
  • (error) When suggesting one of several subcommands, use the plural subcommands, rather than subcommand

v4.1.2

Compare Source

Fixes
  • In documentation, refer to get_flag, rather than get_one::<bool>

v4.1.1

Compare Source

Fixes
  • (error) Small softening attempt for "unexpected argument" error

v4.1.0

Compare Source

Compatibility

MSRV changed to 1.64.0

For apps with custom --help and --version flags:

  • Descriptions for --help and --version changed

When apps have errors imitating clap's error style:

  • Error message style was changed, including
    • Moving away from "did you mean" to tips
    • Leading letter is lower case
    • "For more" added some punctuation
Features
  • ArgMatches::get_occurrences support for argument values to be grouped by their occurrence
Fixes
  • (derive) Allow upgrade_from when arguments / subcommands are explicitly marked as required
  • (help) Try be more clearer and succinct with --help and --version (also helps with overflow)
  • (error) Try to be more clearer and succinct with error messages
  • (error) Officially adopt an error style guide

Configuration

📅 Schedule: Branch creation - "" in timezone Europe/Berlin, 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.

🔕 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.

@stackable-bot stackable-bot added the dependencies Pull requests that update a dependency file label Feb 3, 2023
@stackable-bot stackable-bot requested a review from a team February 3, 2023 13:15
@siegfriedweber siegfriedweber requested review from siegfriedweber and removed request for a team February 3, 2023 15:52
@siegfriedweber
Copy link
Member

Successfully tested with the nifi-operator.

@siegfriedweber
Copy link
Member

bors merge

bors bot pushed a commit that referenced this pull request Feb 6, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [clap](https://togithub.com/clap-rs/clap) | dependencies | minor | `4.0.32` -> `4.1.4` |

---

### Release Notes

<details>
<summary>clap-rs/clap</summary>

### [`v4.1.4`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;414---2023-01-24)

[Compare Source](https://togithub.com/clap-rs/clap/compare/v4.1.3...v4.1.4)

##### Fixes

-   *(help)* Respect `disable_colored_help` when using `arg_required_else_help`

##### Performance

-   Speed up compiling `arg!` macro

### [`v4.1.3`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;413---2023-01-23)

[Compare Source](https://togithub.com/clap-rs/clap/compare/v4.1.2...v4.1.3)

##### Fixes

-   *(error)* Improve suggested flag/value/subcommand when two share a long preifx
-   *(error)* When suggesting one of several subcommands, use the plural `subcommands`, rather than `subcommand`

### [`v4.1.2`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;412---2023-01-23)

[Compare Source](https://togithub.com/clap-rs/clap/compare/v4.1.1...v4.1.2)

##### Fixes

-   In documentation, refer to `get_flag`, rather than `get_one::<bool>`

### [`v4.1.1`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;411---2023-01-14)

[Compare Source](https://togithub.com/clap-rs/clap/compare/v4.1.0...v4.1.1)

##### Fixes

-   *(error)* Small softening attempt for "unexpected argument" error

### [`v4.1.0`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#&#8203;410---2023-01-13)

[Compare Source](https://togithub.com/clap-rs/clap/compare/v4.0.32...v4.1.0)

##### Compatibility

MSRV changed to 1.64.0

For apps with custom `--help` and `--version` flags:

-   Descriptions for `--help` and `--version` changed

When apps have errors imitating clap's error style:

-   Error message style was changed, including
    -   Moving away from "did you mean" to tips
    -   Leading letter is lower case
    -   "For more" added some punctuation

##### Features

-   `ArgMatches::get_occurrences` support for argument values to be grouped by their occurrence

##### Fixes

-   *(derive)* Allow `upgrade_from` when arguments / subcommands are explicitly marked as required
-   *(help)* Try be more clearer and succinct with `--help` and `--version` (also helps with overflow)
-   *(error)* Try to be more clearer and succinct with error messages
-   *(error)* Officially adopt [an error style guide](https://rustc-dev-guide.rust-lang.org/diagnostics.html#suggestion-style-guide)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" in timezone Europe/Berlin, 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.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTkuNSIsInVwZGF0ZWRJblZlciI6IjM0LjExOS41In0=-->
@bors
Copy link
Contributor

bors bot commented Feb 6, 2023

Pull request successfully merged into main.

Build succeeded:

@bors bors bot changed the title Update Rust crate clap to 4.1.4 [Merged by Bors] - Update Rust crate clap to 4.1.4 Feb 6, 2023
@bors bors bot closed this Feb 6, 2023
@bors bors bot deleted the renovate/clap-4.x branch February 6, 2023 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants