Skip to content

Commit

Permalink
rename command line switch to (mimblewimble#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeastplume authored Dec 3, 2019
1 parent 7720901 commit 815a76d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/bin/grin-wallet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/wallet_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 815a76d

Please sign in to comment.