function sql_drush_help_alter

8.0.x sql.drush.inc sql_drush_help_alter(&$command)
6.x sql.drush.inc sql_drush_help_alter(&$command)
7.x sql.drush.inc sql_drush_help_alter(&$command)
5.x sql.drush.inc sql_drush_help_alter(&$command)
master sql.drush.inc sql_drush_help_alter(&$command)

Implements hook_drush_help_alter().

File

commands/sql/sql.drush.inc, line 180
Drush sql commands

Code

function sql_drush_help_alter(&$command) {
  // Drupal 7+ only options.
  if (drush_drupal_major_version() >= 7) {
    if ($command['commandfile'] == 'sql') {
      unset($command['options']['target']['hidden']);
    }
  }
}