[exim-cvs] Fix arg count of one call to error_help()

Góra strony
Delete this message
Reply to this message
Autor: Exim Git Commits Mailing List
Data:  
Dla: exim-cvs
Temat: [exim-cvs] Fix arg count of one call to error_help()
Gitweb: http://git.exim.org/exim-website.git/commitdiff/8bf82f930f60dd71d0f491c5f70d0a06aedca67e
Commit:     8bf82f930f60dd71d0f491c5f70d0a06aedca67e
Parent:     63de5451bb14b46173bd2693e45316cdf2fb5121
Author:     Todd Lyons <tlyons@???>
AuthorDate: Tue Jul 8 08:49:57 2014 -0700
Committer:  Todd Lyons <tlyons@???>
CommitDate: Tue Jul 8 08:49:57 2014 -0700


    Fix arg count of one call to error_help()
---
 script/gen.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


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