/** * {inheritdoc} */ protected function execute(InputInterface $input, OutputInterface $output) { if ($this->errorMessage) { $this->getLogger()->error($this->errorMessage); } if (!empty($this->relatedCommand)) { $this->relatedCommand->showUsage(); } else { $this->showUsage(); } }