Merge pull request #6494 from sinsharat/update_snapshot_restore_options

etcdctlv3: updated snapshot restore options
This commit is contained in:
Xiang Li
2016-09-21 05:50:34 -05:00
committed by GitHub
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,
}