From a687261804f12588daa9ca5bb8ed67a7d2457ce7 Mon Sep 17 00:00:00 2001 From: jtagcat Date: Fri, 2 Oct 2020 16:55:56 +0300 Subject: [PATCH] --help: --compact: clarify description --- cmd/restic/cmd_forget.go | 2 +- cmd/restic/cmd_snapshots.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/restic/cmd_forget.go b/cmd/restic/cmd_forget.go index 0a195f796..d2cc85075 100644 --- a/cmd/restic/cmd_forget.go +++ b/cmd/restic/cmd_forget.go @@ -73,7 +73,7 @@ func init() { f.Var(&forgetOptions.Tags, "tag", "only consider snapshots which include this `taglist` in the format `tag[,tag,...]` (can be specified multiple times)") f.StringArrayVar(&forgetOptions.Paths, "path", nil, "only consider snapshots which include this (absolute) `path` (can be specified multiple times)") - f.BoolVarP(&forgetOptions.Compact, "compact", "c", false, "use compact format") + f.BoolVarP(&forgetOptions.Compact, "compact", "c", false, "use compact output format") f.StringVarP(&forgetOptions.GroupBy, "group-by", "g", "host,paths", "string for grouping snapshots by host,paths,tags") f.BoolVarP(&forgetOptions.DryRun, "dry-run", "n", false, "do not delete anything, just print what would be done") diff --git a/cmd/restic/cmd_snapshots.go b/cmd/restic/cmd_snapshots.go index 380b9b75c..d49e254ec 100644 --- a/cmd/restic/cmd_snapshots.go +++ b/cmd/restic/cmd_snapshots.go @@ -49,7 +49,7 @@ func init() { 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.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 format") + 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") f.StringVarP(&snapshotOptions.GroupBy, "group-by", "g", "", "string for grouping snapshots by host,paths,tags") }