Changeset 10502
- Timestamp:
- 07/29/08 17:20:17 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.2/lib/task/project/sfProjectDeployTask.class.php
r10467 r10502 31 31 new sfCommandOption('go', null, sfCommandOption::PARAMETER_NONE, 'Do the deployment'), 32 32 new sfCommandOption('rsync-dir', null, sfCommandOption::PARAMETER_REQUIRED, 'The directory where to look for rsync*.txt files', 'config'), 33 new sfCommandOption('rsync-options', null, sfCommandOption::PARAMETER_OPTIONAL, 'To options to pass to the rsync executable', 'azC '),33 new sfCommandOption('rsync-options', null, sfCommandOption::PARAMETER_OPTIONAL, 'To options to pass to the rsync executable', 'azC --force --delete'), 34 34 )); 35 35 … … 139 139 else 140 140 { 141 $parameters = sprintf('-%s --force --delete', $options['rsync-options']);141 $parameters = $options['rsync-options']; 142 142 if (file_exists($options['rsync-dir'].'/rsync_exclude.txt')) 143 143 {

