Disable clap colors for now

May be re-introduced if clap adds a `DisableColoredHelp` setting.

Relevant discussion:

- https://github.com/clap-rs/clap/pull/2845#issuecomment-945185102
- https://github.com/dbrgn/tealdeer/pull/108#issuecomment-945182471
This commit is contained in:
Danilo Bargen 2021-10-17 22:10:06 +02:00
commit 6823e271a0
2 changed files with 1 additions and 3 deletions

2
Cargo.lock generated
View file

@ -134,14 +134,12 @@ version = "3.0.0-beta.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "feff3878564edb93745d58cf63e17b63f24142506e7a20c87a5521ed7bfb1d63"
dependencies = [
"atty",
"bitflags",
"clap_derive",
"indexmap",
"lazy_static",
"os_str_bytes",
"strsim 0.10.0",
"termcolor",
"textwrap",
]

View file

@ -19,7 +19,7 @@ path = "src/main.rs"
ansi_term = "0.12.0"
app_dirs = { version = "2", package = "app_dirs2" }
atty = "0.2"
clap = { version = "3.0.0-beta.5", features = ["std", "derive", "color", "suggestions" ], default-features = false }
clap = { version = "3.0.0-beta.5", features = ["std", "derive", "suggestions" ], default-features = false }
env_logger = { version = "0.9", optional = true }
log = "0.4"
reqwest = { version = "0.11.3", features = ["blocking", "rustls-tls", "rustls-tls-native-roots"], default-features = false }