Commit 6c10db42 authored by pitchum's avatar pitchum
Browse files

Fix syntax in examples of 'duniter sync'

parent 5ae1296a
Pipeline #12034 passed with stages
in 9 minutes and 55 seconds
......@@ -47,7 +47,7 @@ For a new or deleted node (for example, following the use of `reset data`), it i
Synchronize its node with the network Ğ1 (Duniter currency):
duniter sync g1.duniter.org 443
duniter sync g1.duniter.org:443
Progress:
download: [|||| ] 23%
......@@ -59,7 +59,7 @@ This command takes time. Be patient.
Disables the display with progress bars in favor of a conventional control output.
duniter sync g1.duniter.org 443
duniter sync g1.duniter.org:443
2017-04-10T08: 31: 42 + 02: 00 - info: Try with g1.duniter.org:10901 4aCqwi
2017-04-10T08: 31: 42 + 02: 00 - info: Sync started.
2017-04-10T08: 31: 42 + 02: 00 - info: Getting remote blockchain info ...
......@@ -70,7 +70,7 @@ Disables the display with progress bars in favor of a conventional control outpu
Disables P2P downloading and downloading of network node listing.
duniter sync g1.duniter.org 443
duniter sync g1.duniter.org:443
2017-04-10T08: 32: 26 + 02: 00 - info: Try with g1.duniter.org:10901 4aCqwi
2017-04-10T08: 32: 26 + 02: 00 - info: Sync started.
2017-04-10T08: 32: 26 + 02: 00 - info: Getting remote blockchain info ...
......@@ -88,13 +88,13 @@ Retrieves only peer information, does not retrieve block information.
Force the careful verification of the validity of each block in relation to the rules of the protocol.
duniter sync g1.duniter.org 443 --cautious
duniter sync g1.duniter.org:443 --cautious
#### Option `--memory`
Perform synchronization in memory only. Synchronization will not be stored on the hard disk. This option is useful for a quick blockchain integrity check when combined with the `--cautious` option.
duniter sync g1.duniter.org 443 --cautious --memory
duniter sync g1.duniter.org:443 --cautious --memory
## Start / Stop its node
......@@ -363,7 +363,7 @@ Because these options allow you to temporarily reset (the time of a command) a g
Allows you to redefine the folder where the application data is stored. The default value for this option is `$HOME/.config/duniter/`
duniter sync g1.duniter.org 10901 --home / tmp / duniter
duniter sync g1.duniter.org:10901 --home / tmp / duniter
This command will synchronize and store the result in the `/tmp/duniter/duniter_default` folder.
......@@ -371,13 +371,13 @@ This command will synchronize and store the result in the `/tmp/duniter/duniter_
Allows you to redefine the folder where the application data is stored. The default value for this option is `duniter_default`.
duniter sync g1.duniter.org 10901 --mdb g-one
duniter sync g1.duniter.org:10901 --mdb g-one
This command will synchronize and store the result in the `$HOME/.config/duniter/g-one` folder.
It is possible to combine the 2 options:
duniter sync g1.duniter.org 10901 --home / tmp / duniter --mdb g-one
duniter sync g1.duniter.org:10901 --home / tmp / duniter --mdb g-one
This command will synchronize and store the result in the `/tmp/duniter/g-one` folder.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment