From: Wayne Davison Date: Fri, 17 Jun 2005 16:12:05 +0000 (+0000) Subject: Improved some of the comments that are output into the perl code. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/ef1233cbb379cc8ab7bbebdaeacc2d173568568d Improved some of the comments that are output into the perl code. --- diff --git a/support/cull_options b/support/cull_options index 577746c4..b4718e2e 100755 --- a/support/cull_options +++ b/support/cull_options @@ -36,15 +36,21 @@ while () { } close IN; -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", - "# To disable a long-named option, change its value to a 0. A value of -1\n", - "# means the arg doesn't need checking, a 2 means only check when receiving.\n"; +my $short_no_arg = join('', sort keys %short_no_arg); +my $short_with_num = join('', sort keys %short_with_num); + +print < 1,\n '", sort keys %$name) . "' => 1,\n);\n";