diff --git a/ledger-tool/src/main.rs b/ledger-tool/src/main.rs index 682f2bf8a1aa0f..6756806ad4ecb3 100644 --- a/ledger-tool/src/main.rs +++ b/ledger-tool/src/main.rs @@ -1923,11 +1923,11 @@ fn main() { let is_minimized = arg_matches.is_present("minimized"); let output_directory = value_t!(arg_matches, "output_directory", PathBuf) .unwrap_or_else(|_| { - let snapshot_archive_path = value_t!(matches, "snapshots", String) + let snapshot_archive_path = value_t!(arg_matches, "snapshots", String) .ok() .map(PathBuf::from); let incremental_snapshot_archive_path = - value_t!(matches, "incremental_snapshot_archive_path", String) + value_t!(arg_matches, "incremental_snapshot_archive_path", String) .ok() .map(PathBuf::from); match (