From: Wayne Davison Date: Mon, 18 Sep 2006 00:13:50 +0000 (+0000) Subject: The --min-size arg doesn't need to be path-checked either. X-Git-Tag: v2.6.9pre1~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30cd7ec1cfc46e8185d5a7a8444ce72eeee5adcb;p=thirdparty%2Frsync.git The --min-size arg doesn't need to be path-checked either. --- diff --git a/support/cull_options b/support/cull_options index 5e31cb0a..07a57021 100755 --- a/support/cull_options +++ b/support/cull_options @@ -55,7 +55,7 @@ EOT foreach my $opt (sort keys %long_opt) { my $val = $long_opt{$opt}; - $val = 1 if $opt =~ /^max-/; + $val = 1 if $opt =~ /^(max-|min-)/; $val = 3 if $opt eq 'files-from'; $val = '$ro ? -1 : ' . $val if $opt =~ /^remove-/; print " '$opt' => $val,\n";