mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Jan Höppner
parent
66ef6b5945
commit
646a389b53
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user