public function getSynopsis($short = false)
{
$key = $short ? 'short' : 'long';
if (!isset($this->synopsis[$key])) {
$aliases = $this->getAliases();
$name = $this->getName();
$shortName = count($aliases) === 1 ? reset($aliases) : $name;
$this->synopsis[$key] = trim(sprintf('%s %s %s', self::$config->get('application.executable'), $shortName, $this->getDefinition()->getSynopsis($short)));
}
return $this->synopsis[$key];
}