about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2013-10-06 16:52:05 -0700
committerWayne Davison <wayned@users.sourceforge.net>2013-10-06 16:53:21 -0700
commit7e4fd18519a02de10c0f25e57590267510b5d77e (patch)
tree634c7d6ecf76e90cc2f6d65b3f7cfc4412f9123b
parent52364258654418127d544d31b3c49b61019e2c7e (diff)
downloadzsh-7e4fd18519a02de10c0f25e57590267510b5d77e.tar.gz
zsh-7e4fd18519a02de10c0f25e57590267510b5d77e.tar.xz
zsh-7e4fd18519a02de10c0f25e57590267510b5d77e.zip
Add new options for rsync 3.1.0.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_rsync13
2 files changed, 17 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2613d5189..670b40824 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-06  Wayne Davison  <wayned@users.sourceforge.net>
+
+	* users/18024: Completion/Unix/Command/_rsync: add new options for
+	rsync 3.1.0.
+
 2013-10-06  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* users/18023: Doc/Zsh/options.yo, Src/jobs.c, Src/options.c,
diff --git a/Completion/Unix/Command/_rsync b/Completion/Unix/Command/_rsync
index f24a06e47..a531d7df6 100644
--- a/Completion/Unix/Command/_rsync
+++ b/Completion/Unix/Command/_rsync
@@ -74,7 +74,7 @@ _rsync() {
   _arguments -s \
     '*'{-v,--verbose}'[increase verbosity]' \
     {--no-v,--no-verbose}'[turn off --verbose]' \
-    '--bwlimit=[limit I/O bandwidth]:KBytes per second' \
+    '--bwlimit=[limit I/O bandwidth]:KBytes (etc.) per second' \
     '--port=[specify alternate port number]:port:(873)' \
     '--address=[bind to the specified address]:bind address:_bind_addresses' \
     '(-T --temp-dir)'{-T,--temp-dir=}'[create temporary files in specified directory]:directory:_directories' \
@@ -137,6 +137,7 @@ _rsync() {
     '(-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]' \
+    '(-J --omit-link-times)'{-J,--omit-link-times}'[omit symlinks when preserving times]' \
     '--chmod[change destination permissions]:mods' \
     '(-S --sparse)'{-S,--sparse}'[handle sparse files efficiently]' \
     '(-n --dry-run)'{-n,--dry-run}'[show what would have been transferred]' \
@@ -210,6 +211,16 @@ _rsync() {
     '(--only-write-batch)--write-batch=[write a batched update to the specified file]:file:_files' \
     '(--write-batch)--only-write-batch=[like --write-batch but w/o updating destination]:file:_files' \
     '--protocol=[force an older protocol version to be used]:number' \
+    '--info=[fine-grained informational verbosity]:comma-separated list' \
+    '--debug=[fine-grained debug verbosity]:comma-separated list' \
+    '--munge-links[munge symlinks to make them safer, but unusable]' \
+    '--ignore-missing-args[ignore missing source args without error]' \
+    '--delete-missing-args[delete missing source args from destination]' \
+    '(--usermap --chown)--usermap=[custom username mapping]:comma-separated mappings' \
+    '(--groupmap --chown)--groupmap=[custom groupname mapping]:comma-separated mappings' \
+    '(--usermap --groupmap --chown)--chown=[simple username/groupname mapping]:user and/or group' \
+    '*'{-M=,--remote-option=}'[send option to the remote side only]:option string' \
+    '--preallocate[preallocate the full length of new files]' \
     '--iconv=[request charset conversion of filenames]:number' \
     '--read-batch=[read a batched update from the specified file]:file:_files'
 }