account_from_dir flag renamed to account_dir

This commit is contained in:
skrrb 2022-07-16 17:19:51 +02:00 committed by Michael Vines
parent 2cd8a623ce
commit 7c1ce867ce
1 changed files with 3 additions and 3 deletions

View File

@ -219,8 +219,8 @@ fn main() {
),
)
.arg(
Arg::with_name("accounts_from_dir")
.long("accounts-from-dir")
Arg::with_name("account_dir")
.long("account-dir")
.value_name("DIRECTORY")
.validator(|value| {
value
@ -592,7 +592,7 @@ fn main() {
}
let accounts_from_dirs: HashSet<_> = matches
.values_of("accounts_from_dir")
.values_of("account_dir")
.unwrap_or_default()
.collect();