Skip to content

Commit c5fd60c

Browse files
authored
Merge pull request #182 from nickkuijpers/1.x
[1.x] Explode argument option issue losing a part of the argument when multiple = in one line is used
2 parents c3aa06d + cee2ecb commit c5fd60c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/RunCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ protected function getOptions()
236236
continue;
237237
}
238238

239-
$option = explode('=', substr($argument, 2));
239+
$option = explode('=', substr($argument, 2), 2);
240240

241241
if (count($option) == 1) {
242242
$option[1] = true;

0 commit comments

Comments
 (0)