From 877687d1f6806f18f403051508a71744c8bbde14 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 29 May 2025 18:20:43 -0400 Subject: [PATCH] Meta: Make the `ladybird.py test` pattern argument positional Restores API compatibility with the old ladybird.sh. --- Meta/ladybird.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meta/ladybird.py b/Meta/ladybird.py index 5e4b1c054d1..85d919e99f1 100755 --- a/Meta/ladybird.py +++ b/Meta/ladybird.py @@ -60,7 +60,7 @@ def main(): "test", help="Runs the unit tests on the build host", parents=[preset_parser, compiler_parser] ) test_parser.add_argument( - "--pattern", required=False, help="Limits the tests that are ran to those that match the regex pattern" + "pattern", nargs=argparse.OPTIONAL, help="Limits the tests that are run to those that match the regex pattern" ) run_parser = subparsers.add_parser(