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
Force knowledge the -p option, since it gets passed specially.
[rsync/rsync.git]
/
support
/
cull_options
diff --git
a/support/cull_options
b/support/cull_options
index
5e31cb0
..
b21c5d1
100755
(executable)
--- a/
support/cull_options
+++ b/
support/cull_options
@@
-33,6
+33,8
@@
while (<IN>) {
}
close IN;
}
close IN;
+$short_no_arg{'p'} = 1;
+
my $short_no_arg = join('', sort keys %short_no_arg);
my $short_with_num = join('', sort keys %short_with_num);
my $short_no_arg = join('', sort keys %short_no_arg);
my $short_with_num = join('', sort keys %short_with_num);
@@
-55,7
+57,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";