From 1f4f18dccfec36f1089b4e875d226102b093d20e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ste=CC=81phane=20Goetz?= Date: Wed, 15 Jul 2015 11:06:01 +0200 Subject: [PATCH] Bugfixes in confluence --- libs/Format/Confluence/Publisher.php | 2 +- libs/Generator/Command.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/Format/Confluence/Publisher.php b/libs/Format/Confluence/Publisher.php index 8aa93af..332f459 100644 --- a/libs/Format/Confluence/Publisher.php +++ b/libs/Format/Confluence/Publisher.php @@ -49,7 +49,7 @@ class Publisher try { return $this->runAction($title, $this->output, $this->width, $closure); } catch (BadResponseException $e) { - echo " X Failed with message: " . $e->getMessage() . "\n"; + $this->output->writeLn(" " . $e->getMessage() . ""); } } diff --git a/libs/Generator/Command.php b/libs/Generator/Command.php index 69dca16..a0dc3a3 100644 --- a/libs/Generator/Command.php +++ b/libs/Generator/Command.php @@ -39,7 +39,7 @@ class Command extends SymfonyCommand switch(strtolower($input->getOption('format'))) { case 'confluence': - (new ConfluenceGenerator())->generate($daux, $input->getOption('destination'), $output, $width); + (new ConfluenceGenerator())->generate($daux, $output, $width); break; case 'html': default: