fix typos in cmd descriptions

This commit is contained in:
Michael Eischer
2026-05-16 11:40:22 +02:00
parent 2b72f3eb42
commit 9299c45818
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ func newKeyPasswdCommand(globalOptions *global.Options) *cobra.Command {
Use: "passwd",
Short: "Change key (password); creates a new key ID and removes the old key ID, returns new key ID",
Long: `
The "passwd" sub-command creates a new key, validates the key and remove the old key ID.
Returns the new key ID.
The "passwd" sub-command creates a new key, validates the key and removes the old key ID.
Returns the new key ID.
EXIT STATUS
===========
+2 -2
View File
@@ -16,10 +16,10 @@ import (
func newKeyRemoveCommand(globalOptions *global.Options) *cobra.Command {
cmd := &cobra.Command{
Use: "remove [ID]",
Short: "Remove key ID (password) from the repository.",
Short: "Remove key ID (password) from the repository",
Long: `
The "remove" sub-command removes the selected key ID. The "remove" command does not allow
removing the current key being used to access the repository.
removing the current key being used to access the repository.
EXIT STATUS
===========
+1 -1
View File
@@ -28,7 +28,7 @@ func newSelfUpdateCommand(globalOptions *global.Options) *cobra.Command {
Use: "self-update [flags]",
Short: "Update the restic binary",
Long: `
The command "self-update" downloads the latest stable release of restic from
The "self-update" command downloads the latest stable release of restic from
GitHub and replaces the currently running binary. After download, the
authenticity of the binary is verified using the GPG signature on the release
files.
+1 -1
View File
@@ -22,7 +22,7 @@ func newTagCommand(globalOptions *global.Options) *cobra.Command {
Use: "tag [flags] [snapshotID ...]",
Short: "Modify tags on snapshots",
Long: `
The "tag" command allows you to modify tags on exiting snapshots.
The "tag" command allows you to modify tags on existing snapshots.
You can either set/replace the entire set of tags on a snapshot, or
add tags to/remove tags from the existing set.