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

This commit is contained in:
Liu-Cheng Xu authored and GitHub committed 2021-07-27 10:43:27 +02:00
1 parent 845e6a5ff1
commit 6b75ec92a7
1 file changed
+7 -4
@@ -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,
}