Rename CLI flag

This commit is contained in:
Paul Hauner
2019-08-26 15:51:11 +10:00
parent b58aa1d148
commit bab1f2b064
2 changed files with 4 additions and 4 deletions

View File

@@ -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)?;
}