Skip to content

Commit

Permalink
Merge pull request laravel#212 from laravel/hyphenated-options
Browse files Browse the repository at this point in the history
[2.x] Allow hyphenated options
  • Loading branch information
taylorotwell authored Dec 29, 2020
2 parents 9d11663 + 9dd05ca commit fe5fb17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/RunCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ protected function getOptions()
$option[1] = true;
}

$options[$option[0]] = $option[1];
$options[Str::camel($option[0])] = $option[1];
}

return $options;
Expand Down

0 comments on commit fe5fb17

Please sign in to comment.