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
  • Loading branch information
brooksprumo authored Sep 21, 2023
1 parent 2839d51 commit 1d39c31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ledger-tool/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ fn main() {
.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]");
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 @@ -293,7 +293,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 1d39c31

Please sign in to comment.