mirror of
https://github.com/mimblewimble/grin-wallet.git
synced 2025-02-01 08:51:09 +03:00
rename command line switch to (#269)
This commit is contained in:
parent
0d77282398
commit
fe539e716c
2 changed files with 5 additions and 5 deletions
|
@ -22,10 +22,10 @@ args:
|
|||
long: account
|
||||
takes_value: true
|
||||
default_value: default
|
||||
- data_dir:
|
||||
help: Directory in which to store wallet files
|
||||
short: dd
|
||||
long: data_dir
|
||||
- top_level_dir:
|
||||
help: Top directory in which wallet files are stored (location of 'grin-wallet.toml')
|
||||
short: t
|
||||
long: top_level_dir
|
||||
takes_value: true
|
||||
- external:
|
||||
help: Listen on 0.0.0.0 interface to allow external connections (default is 127.0.0.1)
|
||||
|
|
|
@ -801,7 +801,7 @@ where
|
|||
wallet_config.api_listen_interface = "0.0.0.0".to_string();
|
||||
}
|
||||
|
||||
if let Some(dir) = wallet_args.value_of("data_dir") {
|
||||
if let Some(dir) = wallet_args.value_of("top_level_dir") {
|
||||
wallet_config.data_file_dir = dir.to_string().clone();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue