about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-13 21:00:10 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-13 21:00:10 +0200
commit77ea1d8223b57567b448fb973b7240adaab61778 (patch)
tree2e2fed4b721170254398b038a15d43c3a3acd4af
parentfix(yt/{se,}dowa): Don't exit completely, if the downloader fails (diff)
downloadyt-77ea1d8223b57567b448fb973b7240adaab61778.zip
style(yt/cli): Sort the toplevel flags alphabetically
-rw-r--r--yt/src/cli.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/yt/src/cli.rs b/yt/src/cli.rs
index e7ee4c2..de7a5b8 100644
--- a/yt/src/cli.rs
+++ b/yt/src/cli.rs
@@ -40,10 +40,6 @@ pub struct CliArgs {
     #[arg(long, short, action=ArgAction::SetTrue, default_value_t = false)]
     pub no_migrate_db: bool,
 
-    /// Increase message verbosity
-    #[arg(long="verbose", short = 'v', action = ArgAction::Count)]
-    pub verbosity: u8,
-
     /// Display colors [defaults to true, if the config file has no value]
     #[arg(long, short = 'C')]
     pub color: Option<bool>,
@@ -57,6 +53,10 @@ pub struct CliArgs {
     #[arg(long, short)]
     pub config_path: Option<PathBuf>,
 
+    /// Increase message verbosity
+    #[arg(long="verbose", short = 'v', action = ArgAction::Count)]
+    pub verbosity: u8,
+
     /// Silence all output
     #[arg(long, short = 'q')]
     pub quiet: bool,