From 8b80628b38ecad79146198760966391aa49b698a Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 22 Feb 2021 18:44:45 +0000 Subject: [PATCH] Sortable feature status list (#15150) (#15192) (cherry picked from commit 88f22c360bce341a4aa10564f5f3ae76df8312c7) Co-authored-by: Jack May --- cli/src/feature.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/feature.rs b/cli/src/feature.rs index e782ca9280..b368959e8e 100644 --- a/cli/src/feature.rs +++ b/cli/src/feature.rs @@ -70,7 +70,7 @@ impl fmt::Display for CliFeatures { f, "{}", style(format!( - "{:<44} {:<28} {}", + "{:<44} | {:<27} | {}", "Feature", "Status", "Description" )) .bold() @@ -79,7 +79,7 @@ impl fmt::Display for CliFeatures { for feature in &self.features { writeln!( f, - "{:<44} {:<28} {}", + "{:<44} | {:<27} | {}", feature.id, match feature.status { CliFeatureStatus::Inactive => style("inactive".to_string()).red(),