mirror of
https://github.com/octoleo/restic.git
synced 2024-11-30 00:33:57 +00:00
Just print the number of snapshots
This commit is contained in:
parent
2f10e25738
commit
e46a647c45
@ -163,7 +163,7 @@ func PrintSnapshots(stdout io.Writer, list restic.Snapshots, compact bool) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tab.Footer = fmt.Sprintf("Amount of snapshots: %d", len(list))
|
tab.Footer = fmt.Sprintf("%d snapshots", len(list))
|
||||||
|
|
||||||
tab.Write(stdout)
|
tab.Write(stdout)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user