Adds default info to cli arg for --accounts-hash-cache-path (#33331)

This commit is contained in:
Brooks 2023-09-20 23:45:55 -04:00 committed by GitHub
parent 2839d51d5e
commit 1d39c3167d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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")