From 2b0bbd0959bf9c46c8b58274b65a033e382b1daa Mon Sep 17 00:00:00 2001 From: Kenta Kubo <601636+kkebo@users.noreply.github.com> Date: Fri, 2 Aug 2024 02:30:25 +0900 Subject: [PATCH] Fix incorrect help documentation of XCTestMain The option `--list-test` is incorrect. The correct option is [`--list-tests`](https://github.com/apple/swift-corelibs-foundation/blob/9c8bac47f032a431dde757112591e3dd60dba461/Sources/XCTest/Private/ArgumentParser.swift#L60). --- Sources/XCTest/Public/XCTestMain.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/XCTest/Public/XCTestMain.swift b/Sources/XCTest/Public/XCTestMain.swift index 33572e723d..e19184e69f 100644 --- a/Sources/XCTest/Public/XCTestMain.swift +++ b/Sources/XCTest/Public/XCTestMain.swift @@ -124,7 +124,7 @@ public func XCTMain( OPTIONS: - -l, --list-test List tests line by line to standard output + -l, --list-tests List tests line by line to standard output --dump-tests-json List tests in JSON to standard output TESTCASES: