@@ -285,8 +285,8 @@ public struct __CommandLineArguments_v0: Sendable {
285
285
/// The value of the `--repeat-until` argument.
286
286
public var repeatUntil : String ?
287
287
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 ?
290
290
291
291
/// Whether or not the experimental warning issue severity feature should be
292
292
/// enabled.
@@ -314,7 +314,7 @@ extension __CommandLineArguments_v0: Codable {
314
314
case skip
315
315
case repetitions
316
316
case repeatUntil
317
- case experimentalAttachmentsPath
317
+ case attachmentsPath
318
318
}
319
319
}
320
320
@@ -396,8 +396,9 @@ func parseCommandLineArguments(from args: [String]) throws -> __CommandLineArgum
396
396
}
397
397
398
398
// 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) ]
401
402
}
402
403
#endif
403
404
@@ -509,9 +510,9 @@ public func configurationForEntryPoint(from args: __CommandLineArguments_v0) thr
509
510
}
510
511
511
512
// Attachment output.
512
- if let attachmentsPath = args. experimentalAttachmentsPath {
513
+ if let attachmentsPath = args. attachmentsPath {
513
514
guard fileExists ( atPath: attachmentsPath) else {
514
- throw _EntryPointError. invalidArgument ( " --experimental -attachments-path " , value: attachmentsPath)
515
+ throw _EntryPointError. invalidArgument ( " ---attachments-path " , value: attachmentsPath)
515
516
}
516
517
configuration. attachmentsPath = attachmentsPath
517
518
}
0 commit comments