Skip to content

Commit 3313f25

Browse files
author
Vojtech Forejt
committed
Fix a wrong getopts string (f does not take any argument after it)
1 parent 7d1792e commit 3313f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regression/test.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ ($$$$)
319319
$Getopt::Std::STANDARD_HELP_VERSION = 1;
320320
our ($opt_c, $opt_f, $opt_i, $opt_j, $opt_n, $opt_p, $opt_h, $opt_C, $opt_T, $opt_F, $opt_K, $opt_s, %defines, @include_tags, @exclude_tags); # the variables for getopt
321321
GetOptions("D=s" => \%defines, "X=s" => \@exclude_tags, "I=s" => \@include_tags);
322-
getopts('c:f:i:j:nphCTFKs') or &main::HELP_MESSAGE(\*STDOUT, "", $main::VERSION, "");
322+
getopts('c:fi:j:nphCTFKs:') or &main::HELP_MESSAGE(\*STDOUT, "", $main::VERSION, "");
323323
$opt_c or &main::HELP_MESSAGE(\*STDOUT, "", $main::VERSION, "");
324324
$opt_j = $opt_j || $ENV{'TESTPL_JOBS'} || 0;
325325
if($opt_j && $opt_j != 1 && !$has_thread_pool) {

0 commit comments

Comments
 (0)