git://git.exim.org
/
exim-website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63de545
)
Fix arg count of one call to error_help()
author
Todd Lyons
<tlyons@ivenue.com>
Tue, 8 Jul 2014 15:49:57 +0000
(08:49 -0700)
committer
Todd Lyons
<tlyons@ivenue.com>
Tue, 8 Jul 2014 15:49:57 +0000
(08:49 -0700)
script/gen.pl
patch
|
blob
|
history
diff --git
a/script/gen.pl
b/script/gen.pl
index 336f6e1641b73aa1b7314c4280b2ae765efa0a60..fe83e6e7a9e56c6a69e49a80a071f28dc35e5e1f 100755
(executable)
--- 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