From 646a389b53a305087195835a8c3466539dab97c2 Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Tue, 3 Dec 2024 17:25:48 +0100 Subject: [PATCH] rust/utils: VerbosityOptions: Make sure the options are listed last MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://docs.rs/clap/latest/clap/struct.Arg.html#method.display_order for details. Reviewed-by: Steffen Eiden Signed-off-by: Marc Hartmayer Signed-off-by: Jan Höppner --- rust/utils/src/cli.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rust/utils/src/cli.rs b/rust/utils/src/cli.rs index f64f7af3..774530ff 100644 --- a/rust/utils/src/cli.rs +++ b/rust/utils/src/cli.rs @@ -209,6 +209,7 @@ pub struct VerbosityOptions { short = 'v', action = ArgAction::Count, global = true, + display_order = 999, )] /// Provide more detailed output. verbose: u8, @@ -219,6 +220,7 @@ pub struct VerbosityOptions { action = ArgAction::Count, global = true, conflicts_with = "verbose", + display_order = 999, )] /// Provide less output. quiet: u8,