mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
Meta: Make the ladybird.py test pattern argument positional
Restores API compatibility with the old ladybird.sh.
This commit is contained in:
parent
6345ebb78c
commit
877687d1f6
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user