From 82f471d0aa01285ce82dfb19ab5c81b4b9d1f562 Mon Sep 17 00:00:00 2001 From: Alex Pasmantier <47638216+alexpasmantier@users.noreply.github.com> Date: Sun, 26 Jan 2025 09:49:53 +0100 Subject: [PATCH] fix(cli): re-enable clap help feature (#315) Fixes #314 --- Cargo.lock | 4 +++- Cargo.toml | 9 ++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2d5835a..9701bcf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -343,8 +343,10 @@ version = "4.5.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96b01801b5fc6a0a232407abc821660c9c6d25a1cafc0d4f85f29fb8d9afc121" dependencies = [ + "anstream", "anstyle", "clap_lex", + "strsim", ] [[package]] @@ -1870,7 +1872,7 @@ dependencies = [ [[package]] name = "television" -version = "0.10.0" +version = "0.10.1" dependencies = [ "anyhow", "bat", diff --git a/Cargo.toml b/Cargo.toml index 6e8206f..e09f89a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "television" -version = "0.10.0" +version = "0.10.1" edition = "2021" description = "The revolution will be televised." license = "MIT" @@ -40,12 +40,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] } rustc-hash = "2.1" syntect = { version = "5.2", default-features = false } unicode-width = "0.2" -clap = { version = "4.5", default-features = false, features = [ - "std", - "derive", - "cargo", - "string", -] } +clap = { version = "4.5", features = ["derive", "cargo", "string"] } serde = { version = "1.0", features = ["derive"] } ratatui = { version = "0.29", features = ["serde", "macros"] } better-panic = "0.3"