progress: add current group to output

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2021-05-07 10:03:09 +02:00 committed by Dietmar Maurer
parent 3c06eba17a
commit c9e6b07145

View File

@ -66,12 +66,13 @@ impl std::fmt::Display for StoreProgress {
} else { } else {
write!( write!(
f, f,
"{:.2}% ({} of {} groups, {} of {} group snapshots)", "{:.2}% ({} of {} groups, {} of {} group #{}'s snapshots)",
self.percentage() * 100.0, self.percentage() * 100.0,
self.done_groups, self.done_groups,
self.total_groups, self.total_groups,
self.done_snapshots, self.done_snapshots,
self.group_snapshots, self.group_snapshots,
current_group,
) )
} }
} }