diff --git a/src/modes/status.rs b/src/modes/status.rs index a063c81..3288618 100644 --- a/src/modes/status.rs +++ b/src/modes/status.rs @@ -122,12 +122,11 @@ fn build_meta_plugin_table(enabled_meta_plugins: &Vec) -> Table } meta_plugin_table.set_titles(row!( - b->"Type", + b->"Meta Name", b->"Found", b->"Enabled", b->"Binary", - b->"Args", - b->"Meta Name")); + b->"Args")); for meta_plugin_type in MetaPluginType::iter() { let mut meta_plugin = meta_plugin::get_meta_plugin(meta_plugin_type.clone()); @@ -159,7 +158,7 @@ fn build_meta_plugin_table(enabled_meta_plugins: &Vec) -> Table }; meta_plugin_table.add_row(Row::new(vec![ - Cell::new(&meta_plugin_type.to_string()), + Cell::new(&meta_plugin.meta_name()), match is_supported { true => Cell::new("Yes").with_style(Attr::ForegroundColor(color::GREEN)), false => Cell::new("No").with_style(Attr::ForegroundColor(color::RED)), @@ -173,7 +172,6 @@ fn build_meta_plugin_table(enabled_meta_plugins: &Vec) -> Table _ => Cell::new(&binary_display), }, Cell::new(&args_display), - Cell::new(&meta_plugin.meta_name()), ])); }