Apply suggestions from code review

Co-authored-by: Michael Vines <mvines@gmail.com>
(cherry picked from commit cfb01e26dd)
This commit is contained in:
DimAn
2021-03-17 00:56:11 +03:00
committed by Michael Vines
parent 305fbe38e9
commit d9c7f78717

View File

@ -1019,11 +1019,11 @@ pub fn main() {
.help("Path to accounts shrink path which can hold a compacted account set."), .help("Path to accounts shrink path which can hold a compacted account set."),
) )
.arg( .arg(
Arg::with_name("snapshots_path") Arg::with_name("snapshot_dir")
.long("snapshots") .long("snapshot-dir")
.value_name("PATHS") .value_name("DIR")
.takes_value(true) .takes_value(true)
.help("Snapshots location"), .help("Use DIR as persistent snapshot [default: --ledger value]"),
) )
.arg( .arg(
Arg::with_name("gossip_port") Arg::with_name("gossip_port")