summary refs log tree commit diff
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2007-11-09 15:01:26 +0000
committerWayne Davison <wayned@users.sourceforge.net>2007-11-09 15:01:26 +0000
commitea60858395e667c26d3acfa9886185a87571ab86 (patch)
tree4c4cdbe7fcbbdff0ddf5e0f5c42983854c6baa5a
parentae925d02f59c3529c0fdac14bbe3b75c31d7ca8a (diff)
downloadzsh-ea60858395e667c26d3acfa9886185a87571ab86.tar.gz
zsh-ea60858395e667c26d3acfa9886185a87571ab86.tar.xz
zsh-ea60858395e667c26d3acfa9886185a87571ab86.zip
Adding missed single-letter options for --acls and --xattrs.
-rw-r--r--Completion/Unix/Command/_rsync6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_rsync b/Completion/Unix/Command/_rsync
index 101282b2a..82683b0ba 100644
--- a/Completion/Unix/Command/_rsync
+++ b/Completion/Unix/Command/_rsync
@@ -125,8 +125,8 @@ _arguments -s \
   '--inplace[update destination files in-place]' \
   '(--append-verify)--append[append data onto shorter files]' \
   '(--append)--append-verify[append data onto shorter files, verifying old data]' \
-  '--acls[preserve access-control lists]' \
-  '--xattrs[preserve extended attributes]' \
+  '(-A --acls)'{-A,--acls}'[preserve access-control lists]' \
+  '(-X --xattrs)'{-X,--xattrs}'[preserve extended attributes]' \
   '--fake-super[use xattrs to save all file attributes]' \
   '(-d --dirs)'{-d,--dirs}'[transfer directories without recursing]' \
   {--no-d,--no-dirs}'[turn off --dirs]' \
@@ -141,7 +141,7 @@ _arguments -s \
   '(-K --keep-dirlinks)'{-K,--keep-dirlinks}'[treat symlinked dir on receiver as dir]' \
   '(-p --perms -E --executability)'{-p,--perms}'[preserve permissions]' \
   {--no-p,--no-perms}'[turn off --perms]' \
-  '(-E --executability -p --perms)'{-E,--executability}'[preserve executability]' \
+  '(-E --executability)'{-E,--executability}'[preserve executability]' \
   '(-o --owner)'{-o,--owner}'[preserve owner]' \
   {--no-o,--no-owner}'[turn off --owner]' \
   '(-g --group)'{-g,--group}'[preserve group]' \