diff options
Diffstat (limited to 'core/Command/Status.php')
-rw-r--r-- | core/Command/Status.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/Command/Status.php b/core/Command/Status.php index 7e6e3502ada..c59dac557a8 100644 --- a/core/Command/Status.php +++ b/core/Command/Status.php @@ -70,7 +70,10 @@ class Status extends Base { 'extendedSupport' => Util::hasExtendedSupport() ]; - $this->writeArrayInOutputFormat($input, $output, $values); + if ($input->getOption('verbose') || !$input->getOption('exit-code')) { + $this->writeArrayInOutputFormat($input, $output, $values); + } + if ($input->getOption('exit-code')) { if ($maintenanceMode === true) { return 1; |