diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-23 13:59:35 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-23 13:59:35 +0200 |
commit | 0cf8d9759f1bcfef39626406867c41b425178d48 (patch) | |
tree | ca029a3ba411720b2d9d3fdd049654ed65efff20 /src/cli.rs | |
parent | fix(treewide): Actually use the values from the config (diff) | |
download | yt-0cf8d9759f1bcfef39626406867c41b425178d48.tar.gz yt-0cf8d9759f1bcfef39626406867c41b425178d48.zip |
fix(cli): Always log with a verbosity of at least WARN
This ensures that warnings actually reach the user. And the `--quite` flag can still be used to silence all output.
Diffstat (limited to '')
-rw-r--r-- | src/cli.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.rs b/src/cli.rs index d3ec262..1638e05 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -30,7 +30,7 @@ pub struct CliArgs { pub command: Option<Command>, /// Increase message verbosity - #[arg(long="verbose", short = 'v', action = ArgAction::Count)] + #[arg(long="verbose", short = 'v', action = ArgAction::Count, default_value_t = u8::MAX)] pub verbosity: u8, /// Set the path to the videos.db. This overrides the default and the config file. |