mirror of
https://github.com/restic/restic.git
synced 2025-05-22 15:58:28 +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…
x
Reference in New Issue
Block a user