diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2005-04-27 08:22:34 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2005-04-27 08:22:34 +0000 |
commit | 1735fc1766d2f05ac64be20f6f3ffc8f63bc689d (patch) | |
tree | f868b141079a661949949cfb74b5a579ea418f9c /Completion/Unix/Command/_rsync | |
parent | ba1a54551601f996c9fa6a44c6bd6b8b0f5ca53a (diff) | |
download | zsh-1735fc1766d2f05ac64be20f6f3ffc8f63bc689d.tar.gz zsh-1735fc1766d2f05ac64be20f6f3ffc8f63bc689d.tar.xz zsh-1735fc1766d2f05ac64be20f6f3ffc8f63bc689d.zip |
- 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.
Diffstat (limited to 'Completion/Unix/Command/_rsync')
-rw-r--r-- | Completion/Unix/Command/_rsync | 7 |
1 files changed, 4 insertions, 3 deletions
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:' |