1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

Meta: Change the ladybird.py target to be a positional argument

This affords us some API symmetry with ladybird.sh.
This commit is contained in:
Timothy Flynn 2025-05-27 12:37:49 -04:00 committed by Jelle Raaijmakers
parent 25666390f6
commit 24da7b006e
Notes: github-actions[bot] 2025-05-27 18:03:40 +00:00

View file

@ -103,7 +103,7 @@ def main():
)
target_parser = argparse.ArgumentParser(add_help=False)
target_parser.add_argument("--target", required=False, default="Ladybird")
target_parser.add_argument("target", nargs=argparse.OPTIONAL, default="Ladybird")
build_parser = subparsers.add_parser(
"build", help="Compiles the target binaries", parents=[preset_parser, compiler_parser, target_parser]