We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1820f2f commit a76661aCopy full SHA for a76661a
ext/ext_skel.php
@@ -138,7 +138,7 @@ function process_args($argv, $argc) {
138
if (!isset($argv[$i + 1]) || ($argv[$i + 1]{0} == '-' && $argv[$i + 1]{1} == '-')) {
139
error('Argument "' . $val . '" expects a value, none passed');
140
} else if ($opt == 'dir' && empty($argv[$i + 1])) {
141
- continue;
+ continue 2;
142
}
143
144
$options[$opt] = ($opt == 'dir' ? realpath($argv[$i + 1]) . DIRECTORY_SEPARATOR : $argv[$i + 1]);
0 commit comments