X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/ea9b2add977b642babafd667e55f844529b0fcc3..bdd53557a8b7f84e6e4f658bce709d184985200e:/support/cull_options diff --git a/support/cull_options b/support/cull_options index 5e31cb0a..b21c5d13 100755 --- a/support/cull_options +++ b/support/cull_options @@ -33,6 +33,8 @@ while () { } 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); @@ -55,7 +57,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";