Skip to content

Commit 5dd9867

Browse files
[llvm][llvm-lit] Hide --use-unique-output-file-name from --help (#114812)
I was too hasty landing an option whose only known use at this time is LLVM's own CI. We may be able to remove it before the next branch that would be the next llvm-lit release outside of llvm, but the timing may not work out. So I am hiding the option in case that were to happen.
1 parent ebb3508 commit 5dd9867

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

llvm/utils/lit/lit/cl_arguments.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,15 @@ def parse_args():
175175
type=lit.reports.TimeTraceReport,
176176
help="Write Chrome tracing compatible JSON to the specified file",
177177
)
178+
# This option only exists for the benefit of LLVM's Buildkite CI pipelines.
179+
# As soon as it is not needed, it should be removed. Its help text would be:
180+
# When enabled, lit will add a unique element to the output file name,
181+
# before the extension. For example "results.xml" will become
182+
# "results.<something>.xml". The "<something>" is not ordered in any
183+
# way and is chosen so that existing files are not overwritten. [Default: Off]
178184
execution_group.add_argument(
179185
"--use-unique-output-file-name",
180-
help="When enabled, lit will add a unique element to the output file name, "
181-
'before the extension. For example "results.xml" will become '
182-
'"results.<something>.xml". The "<something>" is not ordered in any '
183-
"way and is chosen so that existing files are not overwritten. [Default: Off]",
186+
help=argparse.SUPPRESS,
184187
action="store_true",
185188
)
186189
execution_group.add_argument(

0 commit comments

Comments
 (0)