From: Todd Lyons Date: Tue, 8 Jul 2014 15:49:57 +0000 (-0700) Subject: Fix arg count of one call to error_help() X-Git-Tag: exim-4_89_1~30 X-Git-Url: https://git.exim.org/exim-website.git/commitdiff_plain/8bf82f930f60dd71d0f491c5f70d0a06aedca67e?ds=inline Fix arg count of one call to error_help() --- diff --git a/script/gen.pl b/script/gen.pl index 336f6e1..fe83e6e 100755 --- a/script/gen.pl +++ b/script/gen.pl @@ -475,7 +475,7 @@ sub parse_arguments { ## --spec and --filter lists foreach my $set (qw[spec filter]) { $opt{$set} = - [ map { my $f = File::Spec->rel2abs($_); error_help( 1, 'No such file: ' . $_ ) unless -f $f; $f } + [ map { my $f = File::Spec->rel2abs($_); error_help( 'No such file: ' . $_ ) unless -f $f; $f } @{ $opt{$set} } ]; } ## --latest