Skip to content

Commit

Permalink
Adds default info to cli arg for --accounts-hash-cache-path (#33331)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1d39c31)

# Conflicts:
#	ledger-tool/src/main.rs
  • Loading branch information
brooksprumo authored and mergify[bot] committed Sep 21, 2023
1 parent 3159e2a commit 9b19c66
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions ledger-tool/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,14 @@ fn main() {
.value_name("PATHS")
.takes_value(true)
.help("Comma separated persistent accounts location");
<<<<<<< HEAD
=======
let accounts_hash_cache_path_arg = Arg::with_name("accounts_hash_cache_path")
.long("accounts-hash-cache-path")
.value_name("PATH")
.takes_value(true)
.help("Use PATH as accounts hash cache location [default: <LEDGER>/accounts_hash_cache]");
>>>>>>> 1d39c3167d (Adds default info to cli arg for --accounts-hash-cache-path (#33331))
let accounts_index_path_arg = Arg::with_name("accounts_index_path")
.long("accounts-index-path")
.value_name("PATH")
Expand Down
2 changes: 1 addition & 1 deletion validator/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> {
.long("accounts-hash-cache-path")
.value_name("PATH")
.takes_value(true)
.help("Use PATH as accounts hash cache location"),
.help("Use PATH as accounts hash cache location [default: <LEDGER>/accounts_hash_cache]"),
)
.arg(
Arg::with_name("snapshots")
Expand Down

0 comments on commit 9b19c66

Please sign in to comment.