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:
Steffen Eiden
2024-11-07 11:03:41 +01:00
parent 576a230341
commit 53d803abf3
9 changed files with 125 additions and 123 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ fn main() -> anyhowRes<()> {
/* ---- PRINT VERSION STRING ---- */
if args.version {
print_version!(0, "2024");
print_version!("2024");
return Ok(());
}