etcdctlv3: updated snapshot restore options

This commit is contained in:
sharat 2016-09-21 16:17:32 +05:30
parent 0604fccfea
commit 05175480b3
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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 <filename>",
Use: "restore <filename> [options]",
Short: "Restores an etcd member snapshot to an etcd directory",
Run: snapshotRestoreCommandFunc,
}