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: