summaryrefslogtreecommitdiffstats
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_rsync49
1 files changed, 38 insertions, 11 deletions
diff --git a/Completion/Unix/Command/_rsync b/Completion/Unix/Command/_rsync
index dd1160069..ca57d327b 100644
--- a/Completion/Unix/Command/_rsync
+++ b/Completion/Unix/Command/_rsync
@@ -91,15 +91,19 @@ _rsync_files() {
_arguments -s \
'*'{-v,--verbose}'[increase verbosity]' \
+ {--no-v,--no-verbose}'[turn off --verbose]' \
'--bwlimit=[limit I/O bandwidth]:KBytes per second:' \
'--port=[specify alternate port number]:port:' \
'--address=[bind to the specified address]:address:_hosts' \
+ '(-T --temp-dir)'{-T,--temp-dir=}'[create temporary files in specified directory]:directory:_files -/' \
+ '--sockopts=[specify custom TCP options]' \
'(-4 -6 --ipv4 --ipv6)'{-4,--ipv4}'[prefer IPv4]' \
'(-4 -6 --ipv4 --ipv6)'{-6,--ipv6}'[prefer IPv6]' \
- '(-)'{-h,--help}'[display help information]' \
+ '(-)--help[display help information]' \
- daemon \
'--config=[specify alternate rsyncd.conf file]:file:_files' \
'--daemon[run as an rsync daemon]' \
+ '--detach[detach from the parent]' \
'--no-detach[do not detach from the parent]' \
- client \
'*: :_rsync_files' \
@@ -107,37 +111,51 @@ _arguments -s \
'(-c --checksum)'{-c,--checksum}'[skip based on checksums, not mod-time & size]' \
'(-a --archive)'{-a,--archive}'[archive mode; same as -rlptgoD (no -H)]' \
'(-r --recursive)'{-r,--recursive}'[recurse into directories]' \
- '(-R --relative --no-relative)'{-R,--relative}'[use relative path names]' \
- '(-R --relative)--no-relative[turn off --relative]' \
+ {--no-r,--no-recursive}'[turn off --recursive]' \
+ '(-R --relative)'{-R,--relative}'[use relative path names]' \
+ {--no-R,--no-relative}'[turn off --relative]' \
'--no-implied-dirs[do not send implied dirs with --relative]' \
'(-b --backup)'{-b,--backup}'[make backups into hierarchy at indicated directory]' \
'--backup-dir=[make backups into specified directory]:backup directory:_directories' \
'--suffix=[set backup suffix]:suffix' \
'(-u --update)'{-u,--update}'[skip files that are newer on the receiving side]' \
'--inplace[update destination files in-place]' \
+ '--append[append data onto shorter files]' \
'(-d --dirs)'{-d,--dirs}'[transfer directories without recursing]' \
+ {--no-d,--no-dirs}'[turn off --dirs]' \
'(-l --links)'{-l,--links}'[copy symlinks as symlinks]' \
+ {--no-l,--no-links}'[turn off --links]' \
'(-L --copy-links)'{-L,--copy-links}'[transform symlinks into referent file/dir]' \
'--copy-unsafe-links[only "unsafe" symlinks are transformed]' \
'--safe-links[ignore symlinks that point outside the source tree]' \
'(-H --hard-links)'{-H,--hard-links}'[preserve hard links]' \
'(-K --keep-dirlinks)'{-K,--keep-dirlinks}'[treat symlinked dir on receiver as dir]' \