Enable eth1 flag when eth1-endpoint is suppilied (#941)

This commit is contained in:
Paul Hauner
2020-04-01 17:41:19 +11:00
committed by GitHub
parent 5b984ad394
commit 0759806c89
2 changed files with 2 additions and 1 deletions

View File

@@ -187,7 +187,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
Arg::with_name("eth1-endpoint")
.long("eth1-endpoint")
.value_name("HTTP-ENDPOINT")
.help("Specifies the server for a web3 connection to the Eth1 chain.")
.help("Specifies the server for a web3 connection to the Eth1 chain. Also enables the --eth1 flag.")
.takes_value(true)
.default_value("http://127.0.0.1:8545")
)