Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Use double quotes for a quoted string.
[rsync/rsync.git]
/
support
/
cull_options
diff --git
a/support/cull_options
b/support/cull_options
index
dbbfc78
..
07a5702
100755
(executable)
--- a/
support/cull_options
+++ b/
support/cull_options
@@
-39,7
+39,7
@@
my $short_with_num = join('', sort keys %short_with_num);
print <<EOT;
# These options are the only options that rsync might send to the server,
print <<EOT;
# These options are the only options that rsync might send to the server,
-# and only in the option
/arg
format that the stock rsync produces.
+# and only in the option format that the stock rsync produces.
# To disable a short-named option, add its letter to this string:
our \$short_disabled = '';
# To disable a short-named option, add its letter to this string:
our \$short_disabled = '';
@@
-55,7
+55,7
@@
EOT
foreach my $opt (sort keys %long_opt) {
my $val = $long_opt{$opt};
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";
$val = 3 if $opt eq 'files-from';
$val = '$ro ? -1 : ' . $val if $opt =~ /^remove-/;
print " '$opt' => $val,\n";