From 4efd7553efda548a9d93cfa8a9727f43a3adbe82 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 30 Jan 2006 00:15:46 +0000 Subject: Added options for upcoming 2.6.7 release. --- Completion/Unix/Command/_rsync | 49 ++++++++++++++++++++++++++++++++---------- 1 file changed, 38 insertions(+), 11 deletions(-) (limited to 'Completion/Unix/Command/_rsync') 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]' \ '(-p --perms)'{-p,--perms}'[preserve permissions]' \ + {--no-p,--no-perms}'[turn off --perms]' \ '(-o --owner)'{-o,--owner}'[preserve owner]' \ + {--no-o,--no-owner}'[turn off --owner]' \ '(-g --group)'{-g,--group}'[preserve group]' \ - '(-D --devices)'{-D,--devices}'[preserve devices]' \ + {--no-g,--no-group}'[turn off --group]' \ + '(--devices --specials)-D[same as --devices --specials]' \ + '(-D)--devices[preserve devices]' \ + '--no-devices[turn off --devices]' \ + '(-D)--specials[preserve special files]' \ + '--no-specials[turn off --specials]' \ + '--no-D[turn off --devices and --specials]' \ '(-t --times)'{-t,--times}'[preserve times]' \ + {--no-t,--no-times}'[turn off --times]' \ '(-O --omit-dir-times)'{-O,--omit-dir-times}'[omit directories when preserving times]' \ + '--chmod[change destination permissions]:mods' \ '(-S --sparse)'{-S,--sparse}'[handle sparse files efficiently]' \ '(-