2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00

Just print the number of snapshots

This commit is contained in:
Jannick Fahlbusch 2017-10-02 17:05:39 +02:00
parent 2f10e25738
commit e46a647c45
No known key found for this signature in database
GPG Key ID: B6F3B49B350D87BD

View File

@ -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)
}