about summary refs log tree commit diff stats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-23 14:09:15 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-23 14:09:15 +0200
commit0929e662cbf5cde2f0558df785830a24118c930e (patch)
treec1f5b4c3ece1e0b61c2eee50c889349262305970 /src/cli.rs
parentstyle(treewide): Format (diff)
downloadyt-0929e662cbf5cde2f0558df785830a24118c930e.tar.gz
yt-0929e662cbf5cde2f0558df785830a24118c930e.zip
fix(cli/verbosity): Simplify setting the default level
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 1638e05..d3ec262 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, default_value_t = u8::MAX)]
+    #[arg(long="verbose", short = 'v', action = ArgAction::Count)]
     pub verbosity: u8,
 
     /// Set the path to the videos.db. This overrides the default and the config file.