Adjust show-validators column alignment (#7359)

automerge
This commit is contained in:
Michael Vines
2019-12-08 10:06:35 -07:00
committed by Grimes
parent 891767c6b7
commit deb7ac549c

View File

@ -591,7 +591,7 @@ pub fn process_show_validators(rpc_client: &RpcClient, use_lamports_unit: bool)
println!( println!(
"{}", "{}",
style(format!( style(format!(
" {:<44} {:<44} {:<11} {:>10} {:>11} {}", " {:<44} {:<44} {} {} {} {}",
"Identity Pubkey", "Identity Pubkey",
"Vote Account Pubkey", "Vote Account Pubkey",
"Commission", "Commission",
@ -616,7 +616,7 @@ pub fn process_show_validators(rpc_client: &RpcClient, use_lamports_unit: bool)
} }
} }
println!( println!(
"{} {:<44} {:<44} {:>3}% {:>10} {:>11} {:>11}", "{} {:<44} {:<44} {:>9}% {:>8} {:>10} {:>12}",
if delinquent { if delinquent {
WARNING.to_string() WARNING.to_string()
} else { } else {