From 637ebad0482e1624b7231e774eccc934915b9808 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 4 Oct 2013 13:57:58 -0700 Subject: [PATCH] A few more new options that rsync 3.1.0 can pass. --- NEWS | 2 +- support/rrsync | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 553709d8..32bec283 100644 --- 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. diff --git a/support/rrsync b/support/rrsync index e3c5d41a..9163f1a8 100644 --- a/support/rrsync +++ b/support/rrsync @@ -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, -- 2.47.2