CLI cosmetic: make config get and verbose prints consistent (#8119) (#8133)

automerge
This commit is contained in:
mergify[bot]
2020-02-05 11:31:29 -08:00
committed by GitHub
parent 41a28d7322
commit bea34a812c
10 changed files with 70 additions and 53 deletions

View File

@@ -1233,10 +1233,10 @@ fn process_witness(
pub fn process_command(config: &CliConfig) -> ProcessResult {
if config.verbose {
println_name_value("RPC URL:", &config.json_rpc_url);
if let Some(keypair_path) = &config.keypair_path {
println_name_value("Keypair:", keypair_path);
println_name_value("Keypair Path:", keypair_path);
}
println_name_value("RPC Endpoint:", &config.json_rpc_url);
}
let mut _rpc_client;