From d9c7f78717bb2707cebbbf79f91d15206c5d2c20 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 (cherry picked from commit cfb01e26dd7bbc94a0461ccda3ba2045d7a43fb4) --- 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 ad3ecbdc91..daf12bd84b 100644 --- a/validator/src/main.rs +++ b/validator/src/main.rs @@ -1019,11 +1019,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")