summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-08-25 16:18:53 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-08-25 16:18:53 +0200
commit652ab6da3f5309b0ea6e1e19ce4d915ecb6cc9b1 (patch)
tree73789ea26e96b520349b78ccecd0059919348706 /core
parent4ac81733bd69044fdfc048cc26a9be39630a3426 (diff)
downloadnextcloud-server-652ab6da3f5309b0ea6e1e19ce4d915ecb6cc9b1.tar.gz
nextcloud-server-652ab6da3f5309b0ea6e1e19ce4d915ecb6cc9b1.zip
Surround cli output with appropriate xml tags
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core')
-rw-r--r--core/Command/Maintenance/Repair.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Command/Maintenance/Repair.php b/core/Command/Maintenance/Repair.php
index 650aaf9ce34..7f8d98d758d 100644
--- a/core/Command/Maintenance/Repair.php
+++ b/core/Command/Maintenance/Repair.php
@@ -132,11 +132,11 @@ class Repair extends Command {
$this->progress->finish();
$this->output->writeln('');
} elseif ($event instanceof RepairStepEvent) {
- $this->output->writeln(' - ' . $event->getStepName());
+ $this->output->writeln('<info> - ' . $event->getStepName() . '</info>');
} elseif ($event instanceof RepairInfoEvent) {
- $this->output->writeln(' - ' . $event->getMessage());
+ $this->output->writeln('<info> - ' . $event->getMessage() . '</info>');
} elseif ($event instanceof RepairWarningEvent) {
- $this->output->writeln(' - WARNING: ' . $event->getMessage());
+ $this->output->writeln('<comment> - WARNING: ' . $event->getMessage()) . '</comment>';
} elseif ($event instanceof RepairErrorEvent) {
$this->output->writeln('<error> - ERROR: ' . $event->getMessage() . '</error>');
}