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:
parent
25666390f6
commit
24da7b006e
Notes:
github-actions[bot]
2025-05-27 18:03:40 +00:00
Author: https://github.com/trflynn89
Commit: 24da7b006e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4895
Reviewed-by: https://github.com/gmta ✅
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue