Skip to content

Commit fe5fb17

Browse files
authored
Merge pull request #212 from laravel/hyphenated-options
[2.x] Allow hyphenated options
2 parents 9d11663 + 9dd05ca commit fe5fb17

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
@@ -271,7 +271,7 @@ protected function getOptions()
271271
$option[1] = true;
272272
}
273273

274-
$options[$option[0]] = $option[1];
274+
$options[Str::camel($option[0])] = $option[1];
275275
}
276276

277277
return $options;

0 commit comments

Comments
 (0)