From 2eb75bb941ebb1b0f4041248e9e43289c7eda5d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98ystein=20Olsen?= Date: Mon, 13 Feb 2017 16:05:25 +0100 Subject: [PATCH] Consistently refer to 'the' instead of 'a' repository in help text --- src/cmds/restic/cmd_dump.go | 2 +- src/cmds/restic/cmd_key.go | 2 +- src/cmds/restic/cmd_list.go | 2 +- src/cmds/restic/cmd_snapshots.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cmds/restic/cmd_dump.go b/src/cmds/restic/cmd_dump.go index 2f3ad0149..350e4d7dd 100644 --- a/src/cmds/restic/cmd_dump.go +++ b/src/cmds/restic/cmd_dump.go @@ -22,7 +22,7 @@ var cmdDump = &cobra.Command{ Use: "dump [indexes|snapshots|trees|all|packs]", Short: "dump data structures", 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.`, RunE: func(cmd *cobra.Command, args []string) error { return runDump(globalOptions, args) diff --git a/src/cmds/restic/cmd_key.go b/src/cmds/restic/cmd_key.go index db5365d67..2fba516d9 100644 --- a/src/cmds/restic/cmd_key.go +++ b/src/cmds/restic/cmd_key.go @@ -14,7 +14,7 @@ var cmdKey = &cobra.Command{ Use: "key [list|add|rm|passwd] [ID]", Short: "manage keys (passwords)", 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 { return runKey(globalOptions, args) diff --git a/src/cmds/restic/cmd_list.go b/src/cmds/restic/cmd_list.go index 6eb321b5d..6f35ed7b3 100644 --- a/src/cmds/restic/cmd_list.go +++ b/src/cmds/restic/cmd_list.go @@ -11,7 +11,7 @@ import ( var cmdList = &cobra.Command{ Use: "list [blobs|packs|index|snapshots|keys|locks]", - Short: "list items in the repository", + Short: "list objects in the repository", Long: ` `, diff --git a/src/cmds/restic/cmd_snapshots.go b/src/cmds/restic/cmd_snapshots.go index e4cedcaf4..92a9084ac 100644 --- a/src/cmds/restic/cmd_snapshots.go +++ b/src/cmds/restic/cmd_snapshots.go @@ -15,7 +15,7 @@ var cmdSnapshots = &cobra.Command{ Use: "snapshots", Short: "list all snapshots", 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 { return runSnapshots(snapshotOptions, globalOptions, args)