private function printCommandSummary($options, $heading = '') {
    // Print command info.
    if (!empty($options)) {
      drush_print("{$heading}");

      foreach ($options as $command => $info) {
        drush_print($this->formatCommand($info), 1);
      }
      drush_print();
    }
  }