Skip to content

Commit 24e0ff4

Browse files
fwcdahoppen
authored andcommitted
Set subparsers in build script as required
This fixes an error when invoking the build script without arguments.
1 parent 38518b2 commit 24e0ff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ def add_generate_source_code_args(parser: argparse.ArgumentParser) -> None:
887887
# -------------------------------------------------------------------------
888888
# Shared arguments
889889

890-
sub_parsers = parser.add_subparsers()
890+
sub_parsers = parser.add_subparsers(required=True)
891891

892892
# -------------------------------------------------------------------------
893893
generate_xcodeproj_parser = sub_parsers.add_parser(

0 commit comments

Comments
 (0)