From e46a647c45b4088f015c82a8a0a4704aee973992 Mon Sep 17 00:00:00 2001 From: Jannick Fahlbusch Date: Mon, 2 Oct 2017 17:05:39 +0200 Subject: [PATCH] Just print the number of snapshots --- cmd/restic/cmd_snapshots.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/restic/cmd_snapshots.go b/cmd/restic/cmd_snapshots.go index 7f5152216..dbf5d3478 100644 --- a/cmd/restic/cmd_snapshots.go +++ b/cmd/restic/cmd_snapshots.go @@ -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) }