Skip to content

Commit

Permalink
#7 fix getting of options of console command passed via long names
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeliot-Tm committed Aug 28, 2024
1 parent 0c0b63a commit e166c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pcsf-baseline
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $absolutePathMaker = static function (string $path) use ($projectPath): string {

$options = (static function () use ($absolutePathMaker): array {
$values = [];
$options = getopt('b:c:f:', ['baseline', 'config', 'finder']);
$options = getopt('b:c:f:', ['baseline:', 'config:', 'finder:']);
$defaults = [
'.php-cs-fixer-baseline.json' => ['b', 'baseline'],
'.php-cs-fixer.dist.php' => ['c', 'config'],
Expand Down

0 comments on commit e166c28

Please sign in to comment.