@@ -315,20 +315,20 @@ public struct SwiftToolOptions: ParsableArguments {
315
315
archs. count > 1 ? . xcode : _buildSystem
316
316
}
317
317
318
- /// Tells `Workspace` to attempt to locate .netrc file at `NSHomeDirectory`.
319
- @Flag ( inversion: . prefixedNo)
318
+ /// Whether to load .netrc files for authenticating with remote servers
319
+ /// when downloading binary artifacts or communicating with a registry.
320
+ @Flag ( inversion: . prefixedNo, help: " Load credentials from a .netrc file " )
320
321
var netrc : Bool = true
321
322
322
- /// Similar to `--netrc`, but this option makes the .netrc usage optional and not mandatory as with the `--netrc` option.
323
323
@available ( * , deprecated, message: " .netrc files are located by default " )
324
324
@Flag ( name: . customLong( " netrc-optional " ) , help: . hidden)
325
325
var netrcOptional : Bool = false
326
326
327
- /// The path to the netrc file which should be use for authentication when downloading binary target artifacts .
328
- /// Similar to `--netrc`, except that you also provide the path to the actual file to use.
329
- /// This is useful when you want to provide the information in another directory or with another file name.
330
- /// - important: Respects `--netrcOptional` option.
331
- @ Option ( name : . customLong ( " netrc-file " ) , completion: . file( ) )
327
+ /// The path to the . netrc file used when `netrc` is `true` .
328
+ @ Option (
329
+ name: . customLong ( " netrc-file " ) ,
330
+ help : " Specify the .netrc file path. " ,
331
+ completion: . file( ) )
332
332
var netrcFilePath : AbsolutePath ?
333
333
334
334
public init ( ) { }
0 commit comments