diff --git a/src/Command/BuildDocsCommand.php b/src/Command/BuildDocsCommand.php index 5664ede..7261a66 100644 --- a/src/Command/BuildDocsCommand.php +++ b/src/Command/BuildDocsCommand.php @@ -116,7 +116,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $metas = $this->getMetas(); if ($this->buildContext->getParseSubPath()) { $this->renderDocForPDF($metas); - } elseif ($input->getOption('--output-json')) { + } elseif ($input->getOption('output-json')) { $this->generateJson($metas); }