From 1735fc1766d2f05ac64be20f6f3ffc8f63bc689d Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 27 Apr 2005 08:22:34 +0000 Subject: - Changed the --include, --exclude, and --filter (-f) options so that they can be specified multiple times. - Added the --only-write-batch=FILE option for the upcoming 2.6.5. --- Completion/Unix/Command/_rsync | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Completion/Unix/Command/_rsync') diff --git a/Completion/Unix/Command/_rsync b/Completion/Unix/Command/_rsync index 82ddc6f37..ae97c5bcf 100644 --- a/Completion/Unix/Command/_rsync +++ b/Completion/Unix/Command/_rsync @@ -164,11 +164,11 @@ _arguments -s \ '(--compare-dest --copy-dest)*--link-dest=[hardlink to files in specified directory hierarchy when unchanged]:directory:_files -/' \ '(-z --compress)'{-z,--compress}'[compress file data during the transfer]' \ '(-C --cvs-exclude)'{-C,--cvs-exclude}'[auto-ignore files the same way CVS does]' \ - '(-f --filter)'{-f,--filter=}'[add a file-filtering rule]:rule:' \ + '*'{-f,--filter=}'[add a file-filtering rule]:rule:' \ '*-F[same as --filter="dir-merge /.rsync-filter", repeated: --filter="- .rsync-filter"]' \ - '--exclude=[exclude files matching pattern]:pattern:' \ + '*--exclude=[exclude files matching pattern]:pattern:' \ '--exclude-from=[read exclude patterns from specified file]:file:_files' \ - '--include=[do not exclude files matching pattern]:pattern:' \ + '*--include=[do not exclude files matching pattern]:pattern:' \ '--include-from=[read include patterns from specified file]:file:_files' \ '--files-from=[read list of source-file names from specified file]:file:_files' \ '(-0 --from0)'{-0,--from0}'[all *-from file lists are delimited by nulls]' \ @@ -183,5 +183,6 @@ _arguments -s \ '--password-file=[read password from file]:file:_files' \ '--list-only[list the files instead of copying them]' \ '--write-batch=[write a batched update to the specified file]:file:' \ + '--only-write-batch=[like --write-batch but w/o updating destination]:file:' \ '--protocol=[force an older protocol version to be used]:number:' \ '--read-batch=[read a batched update from the specified file]:file:' -- cgit 1.4.1