Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3f6c17c
)
Output a leading comment and surrounding blank lines.
author
Wayne Davison
<wayned@samba.org>
Fri, 17 Jun 2005 04:46:02 +0000
(
04:46
+0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 17 Jun 2005 04:46:02 +0000
(
04:46
+0000)
support/cull_options
patch
|
blob
|
blame
|
history
diff --git
a/support/cull_options
b/support/cull_options
index
3215e89
..
577746c
100755
(executable)
--- a/
support/cull_options
+++ b/
support/cull_options
@@
-36,7
+36,10
@@
while (<IN>) {
}
close IN;
}
close IN;
-print "our \$short_no_arg = '", sort(keys %short_no_arg), "';\n",
+print "\n",
+ "# These options are the only options that rsync might send to the\n",
+ "# server, and only in the arg styles that the stock rsync produces.\n",
+ "our \$short_no_arg = '", sort(keys %short_no_arg), "';\n",
"our \$short_with_num = '", sort(keys %short_with_num), "';\n",
"# To disable a short-named option, add its letter to this string:\n",
"our \$short_disabled = '';\n",
"our \$short_with_num = '", sort(keys %short_with_num), "';\n",
"# To disable a short-named option, add its letter to this string:\n",
"our \$short_disabled = '';\n",
@@
-56,3
+59,5
@@
foreach my $name (qw( long_no_arg long_with_arg long_before_arg )) {
s/('remove-.* =>) (-?\d),/$1 \$ro ? 0 : $2,/g;
print;
}
s/('remove-.* =>) (-?\d),/$1 \$ro ? 0 : $2,/g;
print;
}
+
+print "\n";