From 24da7b006e8cd22d42f5b37cf502cdb63c12700f Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Tue, 27 May 2025 12:37:49 -0400 Subject: [PATCH] Meta: Change the ladybird.py `target` to be a positional argument This affords us some API symmetry with ladybird.sh. --- Meta/ladybird.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meta/ladybird.py b/Meta/ladybird.py index fa93417e454..6411043eace 100755 --- a/Meta/ladybird.py +++ b/Meta/ladybird.py @@ -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]