Skip to content

Commit

Permalink
Merge pull request #42 from Aeliot-Tm/40-custom-config-path
Browse files Browse the repository at this point in the history
Fix getting of long options
  • Loading branch information
Aeliot-Tm authored Aug 22, 2024
2 parents 292fd94 + 87a2a74 commit b5a5ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/todo-registrar
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $configGuess = static function () use ($absolutePathMaker): string {

$options = (static function () use ($absolutePathMaker, $configGuess): array {
$values = [];
$options = getopt('c:', ['config']);
$options = getopt('c:', ['config:']);
$defaults = [
'config' => ['c', null],
];
Expand Down

0 comments on commit b5a5ddd

Please sign in to comment.