function sqlsync_drush_help_alter

8.0.x sqlsync.drush.inc sqlsync_drush_help_alter(&$command)
7.x sqlsync.drush.inc sqlsync_drush_help_alter(&$command)
master sqlsync.drush.inc sqlsync_drush_help_alter(&$command)

Implements hook_drush_help_alter().

File

commands/sql/sqlsync.drush.inc, line 96

Code

function sqlsync_drush_help_alter(&$command) {
  // Drupal 7+ only options.
  if (drush_drupal_major_version() >= 7) {
    if ($command['command'] == 'sql-sync') {
      unset($command['options']['source-target']['hidden'], $command['options']['target-target']['hidden']);
    }
  }
}