rename command line switch to (#269)

This commit is contained in:
Yeastplume
2019-12-03 09:56:43 +00:00
committed by GitHub
parent 0d77282398
commit fe539e716c
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -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)
+1 -1
View File
@@ -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();
}