From 5d63575fe4a77fab15f2e89681417f305db7822c Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Fri, 5 Jul 2024 08:31:20 +0000 Subject: [PATCH] removed useless help column in configuration table when verbose mode is active --- src/Output/ConsoleOutput.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Output/ConsoleOutput.php b/src/Output/ConsoleOutput.php index 0aa4e4b0..03c2a662 100644 --- a/src/Output/ConsoleOutput.php +++ b/src/Output/ConsoleOutput.php @@ -263,15 +263,14 @@ public function configBlock(array $options): void 'version', ]; - $headers = ['Name', 'Value', 'Help']; + $headers = ['Name', 'Value']; $normalize = fn ($value) => json_encode($value, JSON_UNESCAPED_SLASHES); $rows = []; foreach ($filtered as $name => $value) { - $origin = in_array($name, $origins) ? 'application' : 'command'; - $rows[] = [sprintf('%s', $name), $normalize($value), $origin]; + $rows[] = [sprintf('%s', $name), $normalize($value)]; if ('path' == $name) { $rows[] = new TableSeparator(); }