Skip to content

Commit 6a54a5a

Browse files
committed
give an example in the help
1 parent 117636b commit 6a54a5a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

llvm/utils/lit/lit/cl_arguments.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,11 @@ def parse_args():
179179
"--use-unique-output-file-name",
180180
help="When enabled, lit will not overwrite existing test report files. "
181181
"Instead it will modify the file name until it finds a file name "
182-
"that does not already exist. [Default: Off]",
182+
"that does not already exist. An incrementing number starting from 1 "
183+
"will be added prior to the file extension, or for files without an "
184+
"extension, on the end of the fle name. For example, if 'results.xml' "
185+
"already exists, 'results.1.xml' will be used instead, if that exists, "
186+
"'results.2.xml' and so on. [Default: Off]",
183187
action="store_true",
184188
)
185189
execution_group.add_argument(

0 commit comments

Comments
 (0)