Skip to content

Commit 1cffffd

Browse files
committed
Tweaks to CLI arg changes
1 parent d43548f commit 1cffffd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/CoreCommands/Options.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -586,15 +586,15 @@ public struct TestLibraryOptions: ParsableArguments {
586586
/// have the correct default value if the user didn't specify one.
587587
@Flag(name: .customLong("swift-testing"),
588588
inversion: .prefixedEnableDisable,
589-
help: "Enable support for swift-testing")
589+
help: "Enable support for Swift Testing")
590590
public var explicitlyEnableSwiftTestingLibrarySupport: Bool?
591591

592592
/// Legacy experimental equivalent of ``explicitlyEnableSwiftTestingLibrarySupport``.
593593
///
594594
/// This option will be removed in a future update.
595595
@Flag(name: .customLong("experimental-swift-testing"),
596596
inversion: .prefixedEnableDisable,
597-
help: .hidden)
597+
help: .private)
598598
public var explicitlyEnableExperimentalSwiftTestingLibrarySupport: Bool?
599599

600600
/// Test whether or not a given library is enabled.
@@ -609,7 +609,7 @@ public struct TestLibraryOptions: ParsableArguments {
609609

610610
/// The list of enabled testing libraries.
611611
public var enabledTestingLibraries: [BuildParameters.Testing.Library] {
612-
[.xctest, .swiftTesting].lazy.filter(isEnabled)
612+
[.xctest, .swiftTesting].filter(isEnabled)
613613
}
614614
}
615615

0 commit comments

Comments
 (0)