function drush_help_html_global_options

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


commands/core/, line 484


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;