Move global options to the end of the list in the help message

This commit is contained in:
Marcin Kulik
2025-05-03 17:28:10 +02:00
parent 3c1de97251
commit f0f74e92f5

View File

@@ -14,11 +14,11 @@ pub struct Cli {
pub command: Commands, pub command: Commands,
/// asciinema server URL /// asciinema server URL
#[arg(long, global = true)] #[arg(long, global = true, display_order = 100)]
pub server_url: Option<String>, pub server_url: Option<String>,
/// Quiet mode, i.e. suppress diagnostic messages /// Quiet mode, i.e. suppress diagnostic messages
#[clap(short, long, global = true)] #[clap(short, long, global = true, display_order = 101)]
pub quiet: bool, pub quiet: bool,
} }