Makes help's default for `--accounts-index-path` consistent (#35255)
This commit is contained in:
parent
befe8b9d98
commit
e656e46b24
|
@ -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")
|
||||
|
|
|
@ -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. \
|
||||
.help(
|
||||
"Persistent accounts-index location. \
|
||||
May be specified multiple times. \
|
||||
[default: [ledger]/accounts_index]"),
|
||||
[default: <LEDGER>/accounts_index]",
|
||||
),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("accounts_db_test_hash_calculation")
|
||||
|
|
Loading…
Reference in New Issue