Skip to content

Commit e166c28

Browse files
committed
#7 fix getting of options of console command passed via long names
1 parent 0c0b63a commit e166c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/pcsf-baseline

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $absolutePathMaker = static function (string $path) use ($projectPath): string {
4040

4141
$options = (static function () use ($absolutePathMaker): array {
4242
$values = [];
43-
$options = getopt('b:c:f:', ['baseline', 'config', 'finder']);
43+
$options = getopt('b:c:f:', ['baseline:', 'config:', 'finder:']);
4444
$defaults = [
4545
'.php-cs-fixer-baseline.json' => ['b', 'baseline'],
4646
'.php-cs-fixer.dist.php' => ['c', 'config'],

0 commit comments

Comments
 (0)