From c9e6b07145776cfe1bf23967695b1a2942125893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Fri, 7 May 2021 10:03:09 +0200 Subject: [PATCH] progress: add current group to output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- src/backup/store_progress.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backup/store_progress.rs b/src/backup/store_progress.rs index 115c14c2..e355c9bf 100644 --- a/src/backup/store_progress.rs +++ b/src/backup/store_progress.rs @@ -66,12 +66,13 @@ impl std::fmt::Display for StoreProgress { } else { write!( f, - "{:.2}% ({} of {} groups, {} of {} group snapshots)", + "{:.2}% ({} of {} groups, {} of {} group #{}'s snapshots)", self.percentage() * 100.0, self.done_groups, self.total_groups, self.done_snapshots, self.group_snapshots, + current_group, ) } }