summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-06-17 04:46:02 +0000
committerWayne Davison <wayned@samba.org>2005-06-17 04:46:02 +0000
commitb3181708f21c458b1cc9d8c605b5432eccbad196 (patch)
tree4c2422016b37a40091f92cea61c78acdb8a6ca36 /support
parent3f6c17cf144e13cd9e8be046605b42de5554d2b9 (diff)
downloadrsync-b3181708f21c458b1cc9d8c605b5432eccbad196.tar.gz
rsync-b3181708f21c458b1cc9d8c605b5432eccbad196.tar.bz2
rsync-b3181708f21c458b1cc9d8c605b5432eccbad196.zip
Output a leading comment and surrounding blank lines.
Diffstat (limited to 'support')
-rwxr-xr-xsupport/cull_options7
1 files changed, 6 insertions, 1 deletions
diff --git a/support/cull_options b/support/cull_options
index 3215e89d..577746c4 100755
--- a/support/cull_options
+++ b/support/cull_options
@@ -36,7 +36,10 @@ while (<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",
@@ -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;
}
+
+print "\n";