Skip to content

Commit 22e21bc

Browse files
committed
[llvm][llvm-lit] Correct description of --use-unique-output-file-name
The initial version of this feature would use the output file name if it could, but in switching to temp files I forgot to replicate that behaviour. What happens now is we always use a tempfile name and the output path is a template for that. I think the current behaviour still makes sense so I'm just correcting the documentation.
1 parent 17ac10c commit 22e21bc

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

llvm/utils/lit/lit/cl_arguments.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,10 @@ def parse_args():
177177
)
178178
execution_group.add_argument(
179179
"--use-unique-output-file-name",
180-
help="When enabled, lit will not overwrite existing test report files. "
181-
"Instead it will write to a new file named the same as the output file "
182-
"name but with an extra part before the file extension. For example "
183-
"if results.xml already exists, results.<something>.xml will be written "
184-
"to. The <something> is not ordered in any way. [Default: Off]",
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 are not overwritten. [Default: Off]",
185184
action="store_true",
186185
)
187186
execution_group.add_argument(

0 commit comments

Comments
 (0)