progress: add current group to output
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
3c06eba17a
commit
c9e6b07145
@ -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,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user