public function errorCommand(CommandException $exception)
{
$this->outputLine($exception->getMessage());
if ($exception instanceof AmbiguousCommandIdentifierException) {
$this->outputLine('Please specify the complete command identifier. Matched commands:');
$this->displayShortHelpForCommands($exception->getMatchingCommands());
}
$this->outputLine();
$this->outputLine('Enter "%s help" for an overview of all available commands', [$this->getFlowInvocationString()]);
$this->outputLine('or "%s help <commandIdentifier>" for a detailed description of the corresponding command.', [$this->getFlowInvocationString()]);
}