Skip to content

Commit 3a46084

Browse files
authored
i add input of max errors
1 parent 3f6105f commit 3a46084

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

run.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,19 @@ function usage() {
111111
$i++;
112112
$options['config'] = $_SERVER['argv'][$i];
113113
break;
114-
114+
115115
case "--debug":
116116
$options['debug'] = true;
117117
break;
118118

119119
case "--linecount":
120120
$options['linecount'] = true;
121121
break;
122+
123+
case "--max-errors":
124+
$i++;
125+
$options['max-errors'] = $_SERVER['argv'][$i];
126+
break;
122127

123128
case "--progress":
124129
$options['progress'] = true;

0 commit comments

Comments
 (0)