Skip to content

Commit 8f01c30

Browse files
authored
Mark bootstrap command as required (#5654)
Otherwise this crashes if you don't pass it any args
1 parent 29bd744 commit 8f01c30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utilities/bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def main():
3737
This script will build a bootstrapped copy of the Swift Package Manager, and optionally perform extra
3838
actions like installing the result (with 'install') to a location ('--prefix').
3939
""")
40-
subparsers = parser.add_subparsers(dest='command')
40+
subparsers = parser.add_subparsers(dest='command', required=True)
4141

4242
# clean
4343
parser_clean = subparsers.add_parser("clean", help="cleans build artifacts")

0 commit comments

Comments
 (0)