From 88f22c360bce341a4aa10564f5f3ae76df8312c7 Mon Sep 17 00:00:00 2001 From: Jack May Date: Mon, 8 Feb 2021 12:08:29 -0800 Subject: [PATCH] Sortable feature status list (#15150) --- 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 b7c77ba110..6bf51b45f5 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(),