A few more new options that rsync 3.1.0 can pass.
authorWayne Davison <wayned@samba.org>
Fri, 4 Oct 2013 20:57:58 +0000 (13:57 -0700)
committerWayne Davison <wayned@samba.org>
Fri, 4 Oct 2013 20:59:04 +0000 (13:59 -0700)
NEWS
support/rrsync

diff --git a/NEWS b/NEWS
index 553709d881be75f3afa9e6f07ff8e3a83818f78b..32bec2837f6e8a73cf2346c8c18a2caa5b8f4a69 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,4 +4,4 @@ Changes since 3.1.0:
 
   BUG FIXES:
 
-    - Fixed an issue with sending keep-alive messages to an older sender proc.
+    - Added knowledge of a few new options to rrsync.
index e3c5d41af1d9bc94e92ade8508d38e0ee9622f79..9163f1a8dc3e05ccc077269905e0b55d398a3b4f 100644 (file)
@@ -51,7 +51,7 @@ die "$0 -ro: sending to read-only server not allowed\n" if $ro && !$am_sender;
 # To disable a short-named option, add its letter to this string:
 our $short_disabled = 's';
 
-our $short_no_arg = 'ACDEHIKLORSWXbcdgklmnoprstuvxz'; # DO NOT REMOVE ANY
+our $short_no_arg = 'ACDEHIJKLORSWXbcdgklmnoprstuvxyz'; # DO NOT REMOVE ANY
 our $short_with_num = 'B'; # DO NOT REMOVE ANY
 
 # To disable a long-named option, change its value to a -1.  The values mean:
@@ -103,6 +103,7 @@ our %long_opt = (
   'only-write-batch' => 1,
   'partial' => 0,
   'partial-dir' => 2,
+  'preallocate' => 0,
   'remove-sent-files' => $ro ? -1 : 0,
   'remove-source-files' => $ro ? -1 : 0,
   'safe-links' => 0,