function site_install_drush_help_alter

8.0.x site_install.drush.inc site_install_drush_help_alter(&$command)
7.x site_install.drush.inc site_install_drush_help_alter(&$command)
master site_install.drush.inc site_install_drush_help_alter(&$command)

Implements hook_drush_help_alter().

File

commands/core/site_install.drush.inc, line 77

Code

function site_install_drush_help_alter(&$command) {
  // Drupal version-specific customizations.
  if ($command['command'] == 'site-install') {
    if (drush_drupal_major_version() >= 8) {
      unset($command['options']['clean-url']);
    }
    else {
      unset($command['options']['config-dir']);
    }
  }
}