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()
drush_core_call_rsync in commands/core/rsync.core.inc
Make a direct call to rsync after the source and destination paths have been evaluated.

File

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

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);
  }
}