/** * {@inheritDoc} */ protected function getCommandName(InputInterface $input) { if ($input->hasOption('help')) { $command = new HelpCommand(); return $command->getName(); } return $this->singleCommandName; }