function _drush_rsync_option_exists

8.0.x rsync.core.inc _drush_rsync_option_exists($option, $additional_options)
6.x rsync.core.inc _drush_rsync_option_exists($option, $additional_options)
7.x rsync.core.inc _drush_rsync_option_exists($option, $additional_options)
3.x rsync.core.inc _drush_rsync_option_exists($option, $additional_options)
4.x rsync.core.inc _drush_rsync_option_exists($option, $additional_options)
5.x rsync.core.inc _drush_rsync_option_exists($option, $additional_options)
master rsync.core.inc _drush_rsync_option_exists($option, $additional_options)
1 call to _drush_rsync_option_exists()

File

commands/core/rsync.core.inc, line 208

Code

function _drush_rsync_option_exists($option, $additional_options) {
  if (array_key_exists($option, $additional_options)) {
    return TRUE;
  }
  else {
    return drush_get_option($option, FALSE);
  }
}