summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2005-03-11 19:24:35 +0000
committerWayne Davison <wayned@users.sourceforge.net>2005-03-11 19:24:35 +0000
commit87dceeae1c1b2b632d8dfc1809a37efc831ea991 (patch)
treef27a10bd28abb2bc9b63ce8ed570714c80d5f117 /Completion/Unix/Command
parent65f01182b93214a1f7170a857de2e5a0d743a303 (diff)
downloadzsh-87dceeae1c1b2b632d8dfc1809a37efc831ea991.tar.gz
zsh-87dceeae1c1b2b632d8dfc1809a37efc831ea991.tar.xz
zsh-87dceeae1c1b2b632d8dfc1809a37efc831ea991.zip
The --compare-dest, --link-dest, and (new) --copy-dest options
needed to allow duplication and to exclude each other.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_rsync5
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_rsync b/Completion/Unix/Command/_rsync
index 0ea54644f..026a6a93e 100644
--- a/Completion/Unix/Command/_rsync
+++ b/Completion/Unix/Command/_rsync
@@ -140,8 +140,9 @@ _arguments -s \
   '--modify-window=[compare mod-times with reduced accuracy]:seconds:' \
   '(-T --temp-dir)'{-T,--temp-dir=}'[create temporary files in specified directory]:directory:_files -/' \
   '(-y --fuzzy)'{-y,--fuzzy}'[find similar file for basis if no destination file]' \
-  '--compare-dest=[also compare destination files relative to specified directory]:directory:_files -/' \
-  '--link-dest=[hardlink to files in specified directory hierarchy when unchanged]:directory:_files -/' \
+  '(--copy-dest --link-dest)*--compare-dest=[also compare destination files relative to specified directory]:directory:_files -/' \
+  '(--compare-dest --link-dest)*--copy-dest=[like --compare-dest, but also includes copies of unchanged files]:directory:_files -/' \
+  '(--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:' \