From ee6150f67c700ce7ba2bcfeef1cbc41ab8b2677e Mon Sep 17 00:00:00 2001 From: Shayne Holmes Date: Mon, 11 Sep 2017 09:26:13 -0700 Subject: [PATCH] Change short help messages to imperative voice Unify the output of `restic help`. --- cmd/restic/cmd_forget.go | 2 +- cmd/restic/cmd_tag.go | 2 +- doc/man/restic-forget.1 | 2 +- doc/man/restic-tag.1 | 2 +- doc/manual.rst | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/restic/cmd_forget.go b/cmd/restic/cmd_forget.go index d3f42d4d0..479366f4c 100644 --- a/cmd/restic/cmd_forget.go +++ b/cmd/restic/cmd_forget.go @@ -13,7 +13,7 @@ import ( var cmdForget = &cobra.Command{ Use: "forget [flags] [snapshot ID] [...]", - Short: "forget removes snapshots from the repository", + Short: "remove snapshots from the repository", Long: ` The "forget" command removes snapshots according to a policy. Please note that this command really only deletes the snapshot object in the repository, which diff --git a/cmd/restic/cmd_tag.go b/cmd/restic/cmd_tag.go index d43a283e5..b8c328b61 100644 --- a/cmd/restic/cmd_tag.go +++ b/cmd/restic/cmd_tag.go @@ -13,7 +13,7 @@ import ( var cmdTag = &cobra.Command{ Use: "tag [flags] [snapshot-ID ...]", - Short: "modifies tags on snapshots", + Short: "modify tags on snapshots", Long: ` The "tag" command allows you to modify tags on exiting snapshots. diff --git a/doc/man/restic-forget.1 b/doc/man/restic-forget.1 index b7462eaf2..4978733f1 100644 --- a/doc/man/restic-forget.1 +++ b/doc/man/restic-forget.1 @@ -5,7 +5,7 @@ .SH NAME .PP -restic\-forget \- forget removes snapshots from the repository +restic\-forget \- remove snapshots from the repository .SH SYNOPSIS diff --git a/doc/man/restic-tag.1 b/doc/man/restic-tag.1 index 413e24ffb..404ee74eb 100644 --- a/doc/man/restic-tag.1 +++ b/doc/man/restic-tag.1 @@ -5,7 +5,7 @@ .SH NAME .PP -restic\-tag \- modifies tags on snapshots +restic\-tag \- modify tags on snapshots .SH SYNOPSIS diff --git a/doc/manual.rst b/doc/manual.rst index 60cb33f40..a974d957b 100644 --- a/doc/manual.rst +++ b/doc/manual.rst @@ -21,7 +21,7 @@ Usage help is available: cat print internal objects to stdout check check the repository for errors find find a file or directory - forget forget removes snapshots from the repository + forget remove snapshots from the repository init initialize a new repository key manage keys (passwords) list list items in the repository @@ -31,7 +31,7 @@ Usage help is available: rebuild-index build a new index file restore extract the data from a snapshot snapshots list all snapshots - tag modifies tags on snapshots + tag modify tags on snapshots unlock remove locks other processes created version Print version information