Skip to content

Commit 391120c

Browse files
committed
benchmarks.py: toolchain option is no longer in its own group
1 parent ee8f9ee commit 391120c

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

benchmarks.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -396,10 +396,7 @@ def action_emit(args):
396396
parser_run.add_argument("--desc", action="store", metavar="DESC", help="add a description to the results")
397397
parser_run.add_argument("--no-clean", action="store_false", dest="clean", help="don't perform cleaning stage")
398398
parser_run.add_argument("--cmsa", action="store_true", dest="cmsa", help="compile with the -Xllvm -sil-cross-module-serialize-all option")
399-
400-
toolchain_option_group = parser_run.add_mutually_exclusive_group()
401-
toolchain_option_group.add_argument("--toolchain", action="store", metavar="ID",
402-
help="use swift from the toolchain with specified identifier")
399+
parser_run.add_argument("--toolchain", action="store", metavar="ID", help="use swift from the toolchain with specified identifier")
403400

404401
parser_run.set_defaults(func=action_run)
405402

@@ -412,7 +409,7 @@ def action_emit(args):
412409

413410
# Parser for 'emit' command.
414411
parser_emit = subparsers.add_parser("emit", help="emits SIL and ASM representations",
415-
description=("saves the SIL representation and the final ASM code into the FILENAME.[sil,asm] files"))
412+
description="saves the SIL representation and the final ASM code into the FILENAME.[sil,asm] files")
416413
parser_emit.add_argument("--filename", "-f", action="store", metavar="FILENAME", default="output",
417414
help="base name of the output file without extensions (default: output)")
418415
parser_emit.set_defaults(func=action_emit)

0 commit comments

Comments
 (0)