diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-11-07 15:26:52 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-11-07 15:26:52 +0100 |
| commit | 482580b2ce70aa496267153034f230d0452955a2 (patch) | |
| tree | d20e663dc31fa6e28699e3c98c925600c00aa7ae | |
| parent | fix(yt_dlp/options): Support (one) match_filter function (diff) | |
| download | yt-482580b2ce70aa496267153034f230d0452955a2.zip | |
fix(yt/cli): Make verbose an global flag
Diffstat (limited to '')
| -rw-r--r-- | crates/yt/src/cli.rs | 7 |
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 |
