Skip to content

Commit 08ac497

Browse files
committed
node, gnd: Fix typos in command-line option help strings
1 parent 421868b commit 08ac497

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gnd/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub struct DevOpt {
8484
allow_negative_numbers = false,
8585
value_name = "NETWORK_NAME:[CAPABILITIES]:URL",
8686
env = "ETHEREUM_RPC",
87-
help = "Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive'), and an Ethereum RPC URL, separated by a ':'"
87+
help = "Ethereum network name (e.g. 'mainnet'), optional comma-separated capabilities (eg 'full,archive'), and an Ethereum RPC URL, separated by a ':'"
8888
)]
8989
pub ethereum_rpc: Vec<String>,
9090

node/src/opt.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ pub struct Opt {
8282
conflicts_with_all = &["ethereum_ws", "ethereum_ipc", "config"],
8383
value_name="NETWORK_NAME:[CAPABILITIES]:URL",
8484
env="ETHEREUM_RPC",
85-
help= "Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive'), and an Ethereum RPC URL, separated by a ':'",
85+
help= "Ethereum network name (e.g. 'mainnet'), optional comma-separated capabilities (eg 'full,archive'), and an Ethereum RPC URL, separated by a ':'",
8686
)]
8787
pub ethereum_rpc: Vec<String>,
8888
#[clap(long, allow_negative_numbers = false,
8989
required_unless_present_any = &["ethereum_rpc", "ethereum_ipc", "config"],
9090
conflicts_with_all = &["ethereum_rpc", "ethereum_ipc", "config"],
9191
value_name="NETWORK_NAME:[CAPABILITIES]:URL",
9292
env="ETHEREUM_WS",
93-
help= "Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive`, and an Ethereum WebSocket URL, separated by a ':'",
93+
help= "Ethereum network name (e.g. 'mainnet'), optional comma-separated capabilities (eg 'full,archive', and an Ethereum WebSocket URL, separated by a ':'",
9494
)]
9595
pub ethereum_ws: Vec<String>,
9696
#[clap(long,
@@ -99,7 +99,7 @@ pub struct Opt {
9999
conflicts_with_all = &["ethereum_rpc", "ethereum_ws", "config"],
100100
value_name="NETWORK_NAME:[CAPABILITIES]:FILE",
101101
env="ETHEREUM_IPC",
102-
help= "Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive'), and an Ethereum IPC pipe, separated by a ':'",
102+
help= "Ethereum network name (e.g. 'mainnet'), optional comma-separated capabilities (eg 'full,archive'), and an Ethereum IPC pipe, separated by a ':'",
103103
)]
104104
pub ethereum_ipc: Vec<String>,
105105
#[clap(

0 commit comments

Comments
 (0)