Skip to content

Commit 9dd05ca

Browse files
committed
Allow hyphenated options
1 parent b1e2ac5 commit 9dd05ca

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)