Browse Source

Merge pull request #9993 from philips/dash-force-new-cluster

Documentation: v2: add -- for force new cluster
Gyuho Lee 7 years ago
parent
commit
4fa58fc062
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Documentation/v2/admin_guide.md

+ 2 - 2
Documentation/v2/admin_guide.md

@@ -239,13 +239,13 @@ This command will rewrite some of the metadata contained in the backup (specific
 
 
 #### Restoring a backup
 #### Restoring a backup
 
 
-To restore a backup using the procedure created above, start etcd with the `-force-new-cluster` option and pointing to the backup directory. This will initialize a new, single-member cluster with the default advertised peer URLs, but preserve the entire contents of the etcd data store. Continuing from the previous example:
+To restore a backup using the procedure created above, start etcd with the `--force-new-cluster` option and pointing to the backup directory. This will initialize a new, single-member cluster with the default advertised peer URLs, but preserve the entire contents of the etcd data store. Continuing from the previous example:
 
 
 ```sh
 ```sh
     etcd \
     etcd \
       -data-dir=%backup_data_dir% \
       -data-dir=%backup_data_dir% \
       [-wal-dir=%backup_wal_dir%] \
       [-wal-dir=%backup_wal_dir%] \
-      -force-new-cluster \
+      --force-new-cluster \
       ...
       ...
 ```
 ```