Makes help's default for `--accounts-index-path` consistent (#35255)

This commit is contained in:
Brooks 2024-02-20 13:32:06 -05:00 committed by GitHub
parent befe8b9d98
commit e656e46b24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 5 deletions

View File

@ -616,8 +616,9 @@ fn main() {
.takes_value(true)
.multiple(true)
.help(
"Persistent accounts-index location. May be specified multiple times. [default: \
[ledger]/accounts_index]",
"Persistent accounts-index location. \
May be specified multiple times. \
[default: <LEDGER>/accounts_index]",
);
let accounts_db_test_hash_calculation_arg = Arg::with_name("accounts_db_test_hash_calculation")
.long("accounts-db-test-hash-calculation")

View File

@ -1293,9 +1293,11 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> {
.value_name("PATH")
.takes_value(true)
.multiple(true)
.help("Persistent accounts-index location. \
May be specified multiple times. \
[default: [ledger]/accounts_index]"),
.help(
"Persistent accounts-index location. \
May be specified multiple times. \
[default: <LEDGER>/accounts_index]",
),
)
.arg(
Arg::with_name("accounts_db_test_hash_calculation")