Skip to content

Commit 8cbb6d6

Browse files
dependabot[bot]spenserblacko2sh
authored
Bump clap from 2.34.0 to 3.0.1 (#562)
* Bump clap from 2.34.0 to 3.0.1 Bumps [clap](https://github.com/clap-rs/clap) from 2.34.0 to 3.0.1. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](clap-rs/clap@v2.34.0...clap_complete-v3.0.1) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Fix compilation errors from clap upgrade - Enabled `cargo` feature to allow usage macros for app metadata - Changed short forms of args from single-char `&str`s to `char`s * Fix usage of deprecated clap features Besides replacing the 1:1 deprecated values (these are basically renames), fixes the usage of the deprecated `multiple` arg option, which is split into `multiple_values` (`--option 1 2 3`) and `multiple_occurrences` (`--option 1 --option 2`). ASCII colors,text colors, and disabled fields, take multiple *values*, while exclude and type allow multiple occurrences. * Fix Clap upgrade issues * Switch to multiple_values for type and exclude flags to be in line with tokei * Use default_values fro type flag * Fix nightly by giving type to possible_backends * Remove specific initialization for possible_backend Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Spenser Black <[email protected]> Co-authored-by: o2sh <[email protected]>
1 parent 0bd3645 commit 8cbb6d6

File tree

3 files changed

+111
-63
lines changed

3 files changed

+111
-63
lines changed

Diff for: Cargo.lock

+55-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ anyhow = "1.0"
3030
askalono = "0.4.4"
3131
byte-unit = "4.0.13"
3232
bytecount = "0.6.2"
33-
clap = {version = "2.34.0", features = ["wrap_help"]}
33+
clap = {version = "3.0.1", features = ["cargo", "wrap_help"]}
3434
color_quant = "1.1.0"
3535
colored = "2.0.0"
3636
git2 = {version = "0.13.25", default-features = false}

0 commit comments

Comments
 (0)