protected function buildOptionLine($option_line_data, $options_data) {
    $padding = $options_data['padding'];

    $required = $option_line_data['spec']['required'];

    $out = str_pad($option_line_data['switch_text'], $padding);
    $out .= (strlen($option_line_data['spec']['help']) ? ' '.$option_line_data['spec']['help'] : '');    
    $out .= ($required ? ' (required)' : '');

    // surround in bold if required
    if ($required) {
      $out = ConsoleFormat::applyformatToText('bold','yellow',$out);
    }

    return '  '.$out;
  }