about summary refs log tree commit diff
path: root/Completion/Unix/Command/_rsync
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2009-12-13 18:22:51 +0000
committerWayne Davison <wayned@users.sourceforge.net>2009-12-13 18:22:51 +0000
commit45eef712154aa8ac1192862513f15c38a8261330 (patch)
tree565490ad34fe24c7b98ae77b438c1752a666895f /Completion/Unix/Command/_rsync
parent11fc29f8b2025aaac63562e768dcfee06e848793 (diff)
downloadzsh-45eef712154aa8ac1192862513f15c38a8261330.tar.gz
zsh-45eef712154aa8ac1192862513f15c38a8261330.tar.xz
zsh-45eef712154aa8ac1192862513f15c38a8261330.zip
Fixed --human-readable options and arg-acceptance of -f.
Diffstat (limited to 'Completion/Unix/Command/_rsync')
-rw-r--r--Completion/Unix/Command/_rsync5
1 files changed, 2 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_rsync b/Completion/Unix/Command/_rsync
index c26c05f14..cdb40ab46 100644
--- a/Completion/Unix/Command/_rsync
+++ b/Completion/Unix/Command/_rsync
@@ -207,7 +207,7 @@ _arguments -s \
   '--compress-level=[explicitly set compression level]:number' \
   '--skip-compress=[skip compressing files with a listed suffix]:suffixes' \
   '(-C --cvs-exclude)'{-C,--cvs-exclude}'[auto-ignore files the same way CVS does]' \
-  '*'{-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-from=[read exclude patterns from specified file]:file:_files' \
   '*--exclude=[exclude files matching pattern]:pattern' \
@@ -217,8 +217,7 @@ _arguments -s \
   '(-0 --from0)'{-0,--from0}'[all *-from file lists are delimited by nulls]' \
   '(-s --protect-args)'{-s,--protect-args}'[no space-splitting; only wildcard special-chars]' \
   '--version[print version number]' \
-  '(-h --human-readable --si)'{-h,--human-readable}'[output numbers in a human-readable format]' \
-  '(-h --human-readable)--si[like --human-readable, but use powers of 1000]' \
+  '*'{-h,--human-readable}'[output numbers in a human-readable format]' \
   '--blocking-io[use blocking I/O for the remote shell]' \
   '--no-blocking-io[turn off --blocking-io]' \
   '--stats[give some file-transfer stats]' \