Rename CLI flag
This commit is contained in:
parent
b58aa1d148
commit
bab1f2b064
@ -76,10 +76,10 @@ fn process_testnet_subcommand(
|
||||
builder.update_spec_from_subcommand(&cli_args)?;
|
||||
}
|
||||
|
||||
if let Some(path_string) = cli_args.value_of("config") {
|
||||
if let Some(path_string) = cli_args.value_of("client-config") {
|
||||
let path = path_string
|
||||
.parse::<PathBuf>()
|
||||
.map_err(|e| format!("Unable to parse config path: {:?}", e))?;
|
||||
.map_err(|e| format!("Unable to parse client config path: {:?}", e))?;
|
||||
builder.load_client_config(path)?;
|
||||
}
|
||||
|
||||
|
@ -209,8 +209,8 @@ fn main() {
|
||||
.conflicts_with("spec")
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("config")
|
||||
.long("config")
|
||||
Arg::with_name("client-config")
|
||||
.long("client-config")
|
||||
.value_name("TOML_FILE")
|
||||
.help("An existing beacon_node TOML file (e.g., beacon_node.toml).")
|
||||
.takes_value(true)
|
||||
|
Loading…
Reference in New Issue
Block a user