aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-11-07 15:26:52 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-11-07 15:26:52 +0100
commit482580b2ce70aa496267153034f230d0452955a2 (patch)
treed20e663dc31fa6e28699e3c98c925600c00aa7ae
parentfix(yt_dlp/options): Support (one) match_filter function (diff)
downloadyt-482580b2ce70aa496267153034f230d0452955a2.zip
fix(yt/cli): Make verbose an global flag
-rw-r--r--crates/yt/src/cli.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/crates/yt/src/cli.rs b/crates/yt/src/cli.rs
index 45783bf..015b64b 100644
--- a/crates/yt/src/cli.rs
+++ b/crates/yt/src/cli.rs
@@ -40,7 +40,12 @@ pub(crate) struct CliArgs {
pub(crate) config_path: Option<PathBuf>,
/// Increase message verbosity
- #[arg(long="verbose", short = 'v', action = ArgAction::Count)]
+ #[arg(
+ long="verbose",
+ short = 'v',
+ action = ArgAction::Count,
+ global = true,
+ )]
pub(crate) verbosity: u8,
/// Silence all output