1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-12-17 21:31:35 +01:00

Fixed --human-readable options and arg-acceptance of -f.

This commit is contained in:
Wayne Davison 2009-12-13 18:22:51 +00:00
parent 11fc29f8b2
commit 45eef71215
2 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2009-12-13 Wayne Davison <wayned@users.sourceforge.net>
* unposted: Completion/Unix/Command/_rsync: Fixed the
--human-readable options and arg-acceptance of -f.
2009-12-12 Clint Adams <clint@zsh.org> 2009-12-12 Clint Adams <clint@zsh.org>
* Michael Prokop: 27504: Completion/Debian/Command/_dput: * Michael Prokop: 27504: Completion/Debian/Command/_dput:
@ -12472,5 +12477,5 @@
***************************************************** *****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL * This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.4839 $ * $Revision: 1.4840 $
***************************************************** *****************************************************

View file

@ -207,7 +207,7 @@ _arguments -s \
'--compress-level=[explicitly set compression level]:number' \ '--compress-level=[explicitly set compression level]:number' \
'--skip-compress=[skip compressing files with a listed suffix]:suffixes' \ '--skip-compress=[skip compressing files with a listed suffix]:suffixes' \
'(-C --cvs-exclude)'{-C,--cvs-exclude}'[auto-ignore files the same way CVS does]' \ '(-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"]' \ '*-F[same as --filter="dir-merge /.rsync-filter", repeated: --filter="- .rsync-filter"]' \
'--exclude-from=[read exclude patterns from specified file]:file:_files' \ '--exclude-from=[read exclude patterns from specified file]:file:_files' \
'*--exclude=[exclude files matching pattern]:pattern' \ '*--exclude=[exclude files matching pattern]:pattern' \
@ -217,8 +217,7 @@ _arguments -s \
'(-0 --from0)'{-0,--from0}'[all *-from file lists are delimited by nulls]' \ '(-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]' \ '(-s --protect-args)'{-s,--protect-args}'[no space-splitting; only wildcard special-chars]' \
'--version[print version number]' \ '--version[print version number]' \
'(-h --human-readable --si)'{-h,--human-readable}'[output numbers in a human-readable format]' \ '*'{-h,--human-readable}'[output numbers in a human-readable format]' \
'(-h --human-readable)--si[like --human-readable, but use powers of 1000]' \
'--blocking-io[use blocking I/O for the remote shell]' \ '--blocking-io[use blocking I/O for the remote shell]' \
'--no-blocking-io[turn off --blocking-io]' \ '--no-blocking-io[turn off --blocking-io]' \
'--stats[give some file-transfer stats]' \ '--stats[give some file-transfer stats]' \