Skip to content
Snippets Groups Projects
Commit 6b75ec92 authored by Liu-Cheng Xu's avatar Liu-Cheng Xu Committed by GitHub
Browse files

More readable help for --sync option (#9441)

parent 845e6a5f
No related merge requests found
......@@ -128,10 +128,13 @@ pub struct NetworkParams {
pub ipfs_server: bool,
/// Blockchain syncing mode.
/// Full - Download and validate full blockchain history (Default).
/// Fast - Download blocks and the latest state only.
/// FastUnsafe - Same as Fast, but do skips downloading state proofs.
#[structopt(long, default_value = "Full")]
///
/// - `Full`: Download and validate full blockchain history.
///
/// - `Fast`: Download blocks and the latest state only.
///
/// - `FastUnsafe`: Same as `Fast`, but skip downloading state proofs.
#[structopt(long, value_name = "SYNC_MODE", default_value = "Full")]
pub sync: SyncMode,
}
......
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