function drush_help_html_global_options

8.0.x help.drush.inc drush_help_html_global_options($global_options_help)
6.x help.drush.inc drush_help_html_global_options($global_options_help)
7.x help.drush.inc drush_help_html_global_options($global_options_help)
4.x help.drush.inc drush_help_html_global_options($global_options_help)
5.x help.drush.inc drush_help_html_global_options($global_options_help)
1 call to drush_help_html_global_options()
drush_core_help in commands/core/help.drush.inc
Command callback for help command. This is the default command, when none other has been specified.

File

commands/core/help.drush.inc, line 484

Code

function drush_help_html_global_options($global_options_help) {
  // Global options
  $global_option_rows = drush_format_help_section($global_options_help, 'options');
  $output = '<h3>Global Options (see `drush topic core-global-options` for the full list)</h3><table>';
  foreach ($global_option_rows as $row) {
    $output .= "<tr>";
    foreach ($row as $value) {
      $output .= "<td>" . htmlspecialchars($value) . "</td>\n";
    }
    $output .= "</tr>";
  }
  $output .= "</table>\n";

  return $output;
}