mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
rust: Streamline and cleanup verbosity handling
Create one implementation for the verbose option to be used by all tools. While at it, add a quiet option to decrease the verbosity. Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
@@ -58,7 +58,7 @@ macro_rules! on_error_print_and_exit {
|
||||
fn main() -> ExitCode {
|
||||
// handle version option
|
||||
if cli::ARGS.version {
|
||||
print_version!(0, "2023");
|
||||
print_version!("2023");
|
||||
return ExitCode::SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user