mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-13 23:31:08 +02:00
16540: rsync short options and local files
This commit is contained in:
parent
8a2469d725
commit
45f68d770c
2 changed files with 25 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-02-03 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
|
* 16540: Completion/Unix/Command/_rsync: include short options and
|
||||||
|
local files.
|
||||||
|
|
||||||
2002-01-31 Oliver Kiddle <opk@zsh.org>
|
2002-01-31 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
* Derek Peschel: 16493: Src/params.c: correct typos
|
* Derek Peschel: 16493: Src/params.c: correct typos
|
||||||
|
|
|
@ -1,5 +1,24 @@
|
||||||
#compdef rsync
|
#compdef rsync
|
||||||
|
|
||||||
_arguments -- '*=COMMAND*:command:_command' \
|
_arguments -C -s \
|
||||||
|
'*:local files:_files' \
|
||||||
|
'(--verbose)-v[verbose]' \
|
||||||
|
'(--quiet)-q[quiet]' \
|
||||||
|
'(--checksum)-c[checksum]' \
|
||||||
|
'(--archive)-a[archive]' \
|
||||||
|
'(--recursive)-r[recursive]' \
|
||||||
|
'(--backup)-b[backup]' \
|
||||||
|
'(--update)-u[update]' \
|
||||||
|
'(--links)-l[links]' \
|
||||||
|
'(--perms)-p[perms]' \
|
||||||
|
'(--owner)-o[owner]' \
|
||||||
|
'(--group)-g[group]' \
|
||||||
|
'(--times)-t[times]' \
|
||||||
|
'(--dry-run)-n[dry-run]' \
|
||||||
|
'(--one-file-system)-x[one-file-system]' \
|
||||||
|
'(--rsh)-e[rsh command]:remote command:(rsh ssh)' \
|
||||||
|
'(--compress)-z[compress]' \
|
||||||
|
'(--help)-h[help]' \
|
||||||
|
-- '*=COMMAND*:command:_command' \
|
||||||
'*=FILE*:file:_files' \
|
'*=FILE*:file:_files' \
|
||||||
'*=DIR*:directory:_files -/'
|
'*=DIR*:directory:_files -/'
|
||||||
|
|
Loading…
Reference in a new issue