protected function buildOptionsData() {
    $options_data = array(
      'lines' => array(),
      'padding' => 0,
    );

    // build the lines
    foreach($this->arguments_spec as $option_line_spec) {
      $options_data['lines'][] = $this->buildOptionLineData($option_line_spec);
    }

    // calculate padding
    $options_data['padding'] = $this->buildSwitchTextPaddingLength($options_data);

    return $options_data;
  }