Skip to content

Commit 4ae3d34

Browse files
committed
[build-script] Simplify usage message of build-script
usage: build-script [-h | --help] [OPTION ...] build-script --preset=NAME [SUBSTITUTION ...]
1 parent ad6de9b commit 4ae3d34

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/build-script

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ def main_preset():
171171
def main_normal():
172172
parser = argparse.ArgumentParser(
173173
formatter_class=argparse.RawDescriptionHelpFormatter,
174+
usage="""
175+
%(prog)s [-h | --help] [OPTION ...]
176+
%(prog)s --preset=NAME [SUBSTITUTION ...]
177+
""",
174178
description="""
175179
Use this tool to build, test, and prepare binary distribution archives of Swift
176180
and related tools.

0 commit comments

Comments
 (0)