From ef1233cbb379cc8ab7bbebdaeacc2d173568568d Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 17 Jun 2005 16:12:05 +0000 Subject: [PATCH] Improved some of the comments that are output into the perl code. --- support/cull_options | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) 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"; -- 2.34.1