Skip to content

Commit 2fdfaf7

Browse files
authored
Merge pull request #20948 from ahrtr/20251118_typo_3.5
[release-3.5] Fix a typo of 'etcdctl snapshot restore' command
2 parents 8cb87d1 + 80e15b8 commit 2fdfaf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etcdctl/ctlv3/command/snapshot_command.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func newSnapshotStatusCommand() *cobra.Command {
7272
Long: `When --write-out is set to simple, this command prints out comma-separated status lists for each endpoint.
7373
The items in the lists are hash, revision, total keys, total size.
7474
75-
Moved to 'etcdctl snapshot status ...'
75+
Moved to 'etcdutl snapshot status ...'
7676
`,
7777
Run: snapshotStatusCommandFunc,
7878
}
@@ -83,7 +83,7 @@ func NewSnapshotRestoreCommand() *cobra.Command {
8383
Use: "restore <filename> [options]",
8484
Short: "Restores an etcd member snapshot to an etcd directory",
8585
Run: snapshotRestoreCommandFunc,
86-
Long: "Moved to `etcdctl snapshot restore ...`\n",
86+
Long: "Moved to `etcdutl snapshot restore ...`\n",
8787
}
8888
cmd.Flags().StringVar(&restoreDataDir, "data-dir", "", "Path to the data directory")
8989
cmd.Flags().StringVar(&restoreWalDir, "wal-dir", "", "Path to the WAL directory (use --data-dir if none given)")

0 commit comments

Comments
 (0)