diff --git a/bin/pest b/bin/pest index 630d50ad..d6bcc1b4 100755 --- a/bin/pest +++ b/bin/pest @@ -38,7 +38,7 @@ use Symfony\Component\Console\Output\ConsoleOutput; unset($args[$key]); } - if (str_contains($value, '--todo')) { + if (in_array($value, ['--todo', '--todos'], true)) { $todo = true; unset($args[$key]); }