diff --git a/etcdctl/README.md b/etcdctl/README.md index ddc986e99..541fba817 100644 --- a/etcdctl/README.md +++ b/etcdctl/README.md @@ -762,6 +762,8 @@ The snapshot restore options closely resemble to those used in the `etcd` comman - name -- Human-readable name for the etcd cluster member being restored. +- skip-hash-check -- Ignore snapshot integrity hash value (required if copied from data directory) + #### Return value - On success, a new etcd data directory is initialized. diff --git a/etcdctl/ctlv3/command/snapshot_command.go b/etcdctl/ctlv3/command/snapshot_command.go index 9e5c1d171..89e421fbb 100644 --- a/etcdctl/ctlv3/command/snapshot_command.go +++ b/etcdctl/ctlv3/command/snapshot_command.go @@ -91,7 +91,7 @@ The items in the lists are hash, revision, total keys, total size. func NewSnapshotRestoreCommand() *cobra.Command { cmd := &cobra.Command{ - Use: "restore ", + Use: "restore [options]", Short: "Restores an etcd member snapshot to an etcd directory", Run: snapshotRestoreCommandFunc, }