From b0882b3f3c9ea334ca3414ab49cd971e80ab26d7 Mon Sep 17 00:00:00 2001 From: Quentin Lemaire Date: Mon, 13 Apr 2020 14:16:02 +0200 Subject: [PATCH] fix(snapshots): Update help message to better match the 'forget' command one --- 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 8bc5d5984..300ba99ee 100644 --- a/cmd/restic/cmd_snapshots.go +++ b/cmd/restic/cmd_snapshots.go @@ -47,7 +47,7 @@ func init() { f := cmdSnapshots.Flags() f.StringArrayVarP(&snapshotOptions.Hosts, "host", "H", nil, "only consider snapshots for this `host` (can be specified multiple times)") - f.Var(&snapshotOptions.Tags, "tag", "only consider snapshots which include this `taglist` (can be specified multiple times)") + f.Var(&snapshotOptions.Tags, "tag", "only consider snapshots which include this `taglist` in the format `tag[,tag,...]` (can be specified multiple times)") f.StringArrayVar(&snapshotOptions.Paths, "path", nil, "only consider snapshots for this `path` (can be specified multiple times)") f.BoolVarP(&snapshotOptions.Compact, "compact", "c", false, "use compact output format") f.BoolVar(&snapshotOptions.Last, "last", false, "only show the last snapshot for each host and path")