function core_drush_help_alter

8.0.x core.drush.inc core_drush_help_alter(&$command)
master core.drush.inc core_drush_help_alter(&$command)

Implements hook_drush_help_alter().

File

commands/core/core.drush.inc, line 49
Core drush commands.

Code

function core_drush_help_alter(&$command) {
  // Drupal 8+ only options.
  if (drush_drupal_major_version() < 8) {
    if ($command['commandfile'] == 'core' && $command['command'] == 'updatedb') {
      unset($command['options']['entity-updates']);
    }
  }
}