From 630014412395b70195a4b75dde2b287f9d23999d Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 20 May 2019 22:13:48 -0400 Subject: [PATCH] Make retry time IDs fixed-length too --- src/printer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/printer.rs b/src/printer.rs index 519494e..555fe5c 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -77,7 +77,7 @@ impl Printer { out.write_all(b"\nRetry times (in seconds):\n").expect("stdout broken?"); for i in 0..AddressState::get_count() { out.write_all(format!( - "{:22} ({}): {}\n", AddressState::from_num(i).unwrap().to_str(), i, + "{:22} ({:2}): {}\n", AddressState::from_num(i).unwrap().to_str(), i, store.get_u64(U64Setting::RescanInterval(AddressState::from_num(i).unwrap())) ).as_bytes()).expect("stdout broken?"); } -- 2.39.5