rust/utils: VerbosityOptions: Make sure the options are listed last

See
https://docs.rs/clap/latest/clap/struct.Arg.html#method.display_order
for details.

Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2024-12-03 17:25:48 +01:00
committed by Jan Höppner
parent 66ef6b5945
commit 646a389b53

View File

@@ -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,