/**
  * @param string $optionName
  * @return string
  */
 protected function findOptionAmongAlternatives($optionName)
 {
     // Check the other direction: if the annotation contains @silent|s
     // and the options array has 'silent|s'.
     $checkMatching = explode('|', $optionName);
     if (count($checkMatching) > 1) {
         foreach ($checkMatching as $checkName) {
             if ($this->options->exists($checkName)) {
                 $this->options->rename($checkName, $optionName);
                 return $optionName;
             }
         }
     }
     return $optionName;
 }
 protected function addOptionOrArgumentTag($tag, DefaultsWithDescriptions $set, $nameAndDescription)
 {
     $variableName = $this->commandInfo->findMatchingOption($nameAndDescription['name']);
     $desc = $nameAndDescription['description'];
     $description = static::removeLineBreaks($desc);
     $set->add($variableName, $description);
 }