2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 14:56:29 +00:00

Change short help messages to imperative voice

Unify the output of `restic help`.
This commit is contained in:
Shayne Holmes 2017-09-11 09:26:13 -07:00
parent b1af544b1d
commit ee6150f67c
5 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ import (
var cmdForget = &cobra.Command{ var cmdForget = &cobra.Command{
Use: "forget [flags] [snapshot ID] [...]", Use: "forget [flags] [snapshot ID] [...]",
Short: "forget removes snapshots from the repository", Short: "remove snapshots from the repository",
Long: ` Long: `
The "forget" command removes snapshots according to a policy. Please note that The "forget" command removes snapshots according to a policy. Please note that
this command really only deletes the snapshot object in the repository, which this command really only deletes the snapshot object in the repository, which

View File

@ -13,7 +13,7 @@ import (
var cmdTag = &cobra.Command{ var cmdTag = &cobra.Command{
Use: "tag [flags] [snapshot-ID ...]", Use: "tag [flags] [snapshot-ID ...]",
Short: "modifies tags on snapshots", Short: "modify tags on snapshots",
Long: ` Long: `
The "tag" command allows you to modify tags on exiting snapshots. The "tag" command allows you to modify tags on exiting snapshots.

View File

@ -5,7 +5,7 @@
.SH NAME .SH NAME
.PP .PP
restic\-forget \- forget removes snapshots from the repository restic\-forget \- remove snapshots from the repository
.SH SYNOPSIS .SH SYNOPSIS

View File

@ -5,7 +5,7 @@
.SH NAME .SH NAME
.PP .PP
restic\-tag \- modifies tags on snapshots restic\-tag \- modify tags on snapshots
.SH SYNOPSIS .SH SYNOPSIS

View File

@ -21,7 +21,7 @@ Usage help is available:
cat print internal objects to stdout cat print internal objects to stdout
check check the repository for errors check check the repository for errors
find find a file or directory find find a file or directory
forget forget removes snapshots from the repository forget remove snapshots from the repository
init initialize a new repository init initialize a new repository
key manage keys (passwords) key manage keys (passwords)
list list items in the repository list list items in the repository
@ -31,7 +31,7 @@ Usage help is available:
rebuild-index build a new index file rebuild-index build a new index file
restore extract the data from a snapshot restore extract the data from a snapshot
snapshots list all snapshots snapshots list all snapshots
tag modifies tags on snapshots tag modify tags on snapshots
unlock remove locks other processes created unlock remove locks other processes created
version Print version information version Print version information