Skip to content

Commit 34aae89

Browse files
committed
Merge pull request #2771 from rintaro/build-script-usage
[build-script] Simplify usage message of build-script
2 parents 35d88d7 + 4ae3d34 commit 34aae89

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)