@@ -285,8 +285,8 @@ public struct __CommandLineArguments_v0: Sendable {
285285 /// The value of the `--repeat-until` argument.
286286 public var repeatUntil : String ?
287287
288- /// The value of the `--experimental- attachments-path` argument.
289- public var experimentalAttachmentsPath : String ?
288+ /// The value of the `--attachments-path` argument.
289+ public var attachmentsPath : String ?
290290
291291 /// Whether or not the experimental warning issue severity feature should be
292292 /// enabled.
@@ -314,7 +314,7 @@ extension __CommandLineArguments_v0: Codable {
314314 case skip
315315 case repetitions
316316 case repeatUntil
317- case experimentalAttachmentsPath
317+ case attachmentsPath
318318 }
319319}
320320
@@ -396,8 +396,9 @@ func parseCommandLineArguments(from args: [String]) throws -> __CommandLineArgum
396396 }
397397
398398 // Attachment output
399- if let attachmentsPathIndex = args. firstIndex ( of: " --experimental-attachments-path " ) , !isLastArgument( at: attachmentsPathIndex) {
400- result. experimentalAttachmentsPath = args [ args. index ( after: attachmentsPathIndex) ]
399+ if let attachmentsPathIndex = args. firstIndex ( of: " --attachments-path " ) ?? args. firstIndex ( of: " --experimental-attachments-path " ) ,
400+ !isLastArgument( at: attachmentsPathIndex) {
401+ result. attachmentsPath = args [ args. index ( after: attachmentsPathIndex) ]
401402 }
402403#endif
403404
@@ -509,9 +510,9 @@ public func configurationForEntryPoint(from args: __CommandLineArguments_v0) thr
509510 }
510511
511512 // Attachment output.
512- if let attachmentsPath = args. experimentalAttachmentsPath {
513+ if let attachmentsPath = args. attachmentsPath {
513514 guard fileExists ( atPath: attachmentsPath) else {
514- throw _EntryPointError. invalidArgument ( " --experimental -attachments-path " , value: attachmentsPath)
515+ throw _EntryPointError. invalidArgument ( " ---attachments-path " , value: attachmentsPath)
515516 }
516517 configuration. attachmentsPath = attachmentsPath
517518 }
0 commit comments