Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gnd/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub struct DevOpt {
allow_negative_numbers = false,
value_name = "NETWORK_NAME:[CAPABILITIES]:URL",
env = "ETHEREUM_RPC",
help = "Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive'), and an Ethereum RPC URL, separated by a ':'"
help = "Ethereum network name (e.g. 'mainnet'), optional comma-separated capabilities (eg 'full,archive'), and an Ethereum RPC URL, separated by a ':'"
)]
pub ethereum_rpc: Vec<String>,

Expand Down
6 changes: 3 additions & 3 deletions node/src/opt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ pub struct Opt {
conflicts_with_all = &["ethereum_ws", "ethereum_ipc", "config"],
value_name="NETWORK_NAME:[CAPABILITIES]:URL",
env="ETHEREUM_RPC",
help= "Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive'), and an Ethereum RPC URL, separated by a ':'",
help= "Ethereum network name (e.g. 'mainnet'), optional comma-separated capabilities (eg 'full,archive'), and an Ethereum RPC URL, separated by a ':'",
)]
pub ethereum_rpc: Vec<String>,
#[clap(long, allow_negative_numbers = false,
required_unless_present_any = &["ethereum_rpc", "ethereum_ipc", "config"],
conflicts_with_all = &["ethereum_rpc", "ethereum_ipc", "config"],
value_name="NETWORK_NAME:[CAPABILITIES]:URL",
env="ETHEREUM_WS",
help= "Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive`, and an Ethereum WebSocket URL, separated by a ':'",
help= "Ethereum network name (e.g. 'mainnet'), optional comma-separated capabilities (eg 'full,archive', and an Ethereum WebSocket URL, separated by a ':'",
)]
pub ethereum_ws: Vec<String>,
#[clap(long,
Expand All @@ -99,7 +99,7 @@ pub struct Opt {
conflicts_with_all = &["ethereum_rpc", "ethereum_ws", "config"],
value_name="NETWORK_NAME:[CAPABILITIES]:FILE",
env="ETHEREUM_IPC",
help= "Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive'), and an Ethereum IPC pipe, separated by a ':'",
help= "Ethereum network name (e.g. 'mainnet'), optional comma-separated capabilities (eg 'full,archive'), and an Ethereum IPC pipe, separated by a ':'",
)]
pub ethereum_ipc: Vec<String>,
#[clap(
Expand Down