about summary refs log tree commit diff
path: root/Completion/Unix/Command/_rsync
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-02-03 06:17:35 +0000
committerClint Adams <clint@users.sourceforge.net>2002-02-03 06:17:35 +0000
commit45f68d770c4bde2713888a9263da1ee88a7c78ad (patch)
tree7360eba58371ab1e8aa732926112c77fceb2bb1b /Completion/Unix/Command/_rsync
parent8a2469d72578f05aa2543d27f67d6c034a68aa8f (diff)
downloadzsh-45f68d770c4bde2713888a9263da1ee88a7c78ad.tar.gz
zsh-45f68d770c4bde2713888a9263da1ee88a7c78ad.tar.xz
zsh-45f68d770c4bde2713888a9263da1ee88a7c78ad.zip
16540: rsync short options and local files
Diffstat (limited to 'Completion/Unix/Command/_rsync')
-rw-r--r--Completion/Unix/Command/_rsync21
1 files changed, 20 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_rsync b/Completion/Unix/Command/_rsync
index cb0261340..bb6eb3acb 100644
--- a/Completion/Unix/Command/_rsync
+++ b/Completion/Unix/Command/_rsync
@@ -1,5 +1,24 @@
 #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' \
               '*=DIR*:directory:_files -/'