forked from TrueCloudLab/restic
Consistently refer to 'the' instead of 'a' repository in help text
This commit is contained in:
parent
9922ce97bf
commit
2eb75bb941
4 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@ var cmdDump = &cobra.Command{
|
||||||
Use: "dump [indexes|snapshots|trees|all|packs]",
|
Use: "dump [indexes|snapshots|trees|all|packs]",
|
||||||
Short: "dump data structures",
|
Short: "dump data structures",
|
||||||
Long: `
|
Long: `
|
||||||
The "dump" command dumps data structures from a repository as JSON objects. It
|
The "dump" command dumps data structures from the repository as JSON objects. It
|
||||||
is used for debugging purposes only.`,
|
is used for debugging purposes only.`,
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
return runDump(globalOptions, args)
|
return runDump(globalOptions, args)
|
||||||
|
|
|
@ -14,7 +14,7 @@ var cmdKey = &cobra.Command{
|
||||||
Use: "key [list|add|rm|passwd] [ID]",
|
Use: "key [list|add|rm|passwd] [ID]",
|
||||||
Short: "manage keys (passwords)",
|
Short: "manage keys (passwords)",
|
||||||
Long: `
|
Long: `
|
||||||
The "key" command manages keys (passwords) for accessing a repository.
|
The "key" command manages keys (passwords) for accessing the repository.
|
||||||
`,
|
`,
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
return runKey(globalOptions, args)
|
return runKey(globalOptions, args)
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
|
|
||||||
var cmdList = &cobra.Command{
|
var cmdList = &cobra.Command{
|
||||||
Use: "list [blobs|packs|index|snapshots|keys|locks]",
|
Use: "list [blobs|packs|index|snapshots|keys|locks]",
|
||||||
Short: "list items in the repository",
|
Short: "list objects in the repository",
|
||||||
Long: `
|
Long: `
|
||||||
|
|
||||||
`,
|
`,
|
||||||
|
|
|
@ -15,7 +15,7 @@ var cmdSnapshots = &cobra.Command{
|
||||||
Use: "snapshots",
|
Use: "snapshots",
|
||||||
Short: "list all snapshots",
|
Short: "list all snapshots",
|
||||||
Long: `
|
Long: `
|
||||||
The "snapshots" command lists all snapshots stored in a repository.
|
The "snapshots" command lists all snapshots stored in the repository.
|
||||||
`,
|
`,
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
return runSnapshots(snapshotOptions, globalOptions, args)
|
return runSnapshots(snapshotOptions, globalOptions, args)
|
||||||
|
|
Loading…
Reference in a new issue