From 2e9b501355df23f1f4c7f2e4a0f28cac27fcd276 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 4 Nov 2020 01:35:22 +0000 Subject: [PATCH] more informative feature error message (#13373) (#13375) (cherry picked from commit 04c5e6cc4873a8975e6ef59f500890d03423cb2a) Co-authored-by: Jack May --- cli/src/feature.rs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/cli/src/feature.rs b/cli/src/feature.rs index 508e7cd241..ab2648317f 100644 --- a/cli/src/feature.rs +++ b/cli/src/feature.rs @@ -242,7 +242,22 @@ fn feature_activation_allowed(rpc_client: &RpcClient, quiet: bool) -> Result= 95%").bold() + ); + } + println!( + "{}", + style(format!("Tool Feture Set: {}", my_feature_set)).bold() + ); + println!("{}", style("Cluster Feature Sets and Stakes:").bold()); for (feature_set, percentage) in active_stake_by_feature_set.iter() { if *feature_set == 0 { println!("unknown - {}%", percentage);