Skip to content

Commit ad3a95d

Browse files
authored
build-script: specify bootstrapping modes in --help (#41403)
This allows users of `build-script` to see all available bootstrapping modes without looking them up in source code.
1 parent b60dcc1 commit ad3a95d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/build_swift/build_swift/driver_arguments.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,10 @@ def create_argument_parser():
554554

555555
option('--bootstrapping', store('bootstrapping_mode'),
556556
choices=['off', 'hosttools', 'bootstrapping', 'bootstrapping-with-hostlibs'],
557-
help='The bootstrapping build mode for swift compiler modules')
557+
help='The bootstrapping build mode for swift compiler modules. '
558+
'Available modes: `off`, `hosttools`, `bootstrapping`, '
559+
'`bootstrapping-with-hostlibs`, `crosscompile`, and '
560+
'`crosscompile-with-hostlibs`')
558561

559562
# -------------------------------------------------------------------------
560563
in_group('Host and cross-compilation targets')

0 commit comments

Comments
 (0)