From accd4c09e7f8acb4e071026237661668e5c2ad8f Mon Sep 17 00:00:00 2001 From: "Andreas J. Koenig" Date: Thu, 1 Jan 2009 18:34:46 +0100 Subject: [PATCH] cosmetics --- bin/rrr-news | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/rrr-news b/bin/rrr-news index 7b0120e..a49723c 100755 --- a/bin/rrr-news +++ b/bin/rrr-news @@ -14,7 +14,7 @@ rrr-news - list files added to the dataset =cut -my $optpod = <<'=back'; +my @opt = <<'=back' =~ /B<--(\S+)>/g; =item B<--after=s> @@ -106,8 +106,6 @@ use Getopt::Long; use Pod::Usage qw(pod2usage); our %Opt; -my @opt = $optpod =~ /B<--(\S+)>/g; - GetOptions(\%Opt, @opt, ) or pod2usage(2); @@ -133,7 +131,7 @@ for my $opt (qw(local remote localroot)) { my $rf = File::Rsync::Mirror::Recent->new ( @constr, - # stupid, need no rsync options when running wiht -local! + # stupid, need no rsync options when running with -local! rsync_options => { compress => 1, links => 1, -- 2.11.4.GIT