From cfb01e26dd7bbc94a0461ccda3ba2045d7a43fb4 Mon Sep 17 00:00:00 2001 From: DimAn Date: Wed, 17 Mar 2021 00:56:11 +0300 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Michael Vines --- validator/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/validator/src/main.rs b/validator/src/main.rs index 7b98063a3..7ccaf7b80 100644 --- a/validator/src/main.rs +++ b/validator/src/main.rs @@ -1205,11 +1205,11 @@ pub fn main() { .help("Path to accounts shrink path which can hold a compacted account set."), ) .arg( - Arg::with_name("snapshots_path") - .long("snapshots") - .value_name("PATHS") + Arg::with_name("snapshot_dir") + .long("snapshot-dir") + .value_name("DIR") .takes_value(true) - .help("Snapshots location"), + .help("Use DIR as persistent snapshot [default: --ledger value]"), ) .arg( Arg::with_name("gossip_port")