File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -329,13 +329,18 @@ public struct SwiftToolOptions: ParsableArguments {
329
329
completion: . file( ) )
330
330
var netrcFilePath : AbsolutePath ?
331
331
332
- #if canImport(Security)
333
332
/// Whether to use keychain for authenticating with remote servers
334
333
/// when downloading binary artifacts or communicating with a registry.
335
- @Flag ( inversion: . prefixedNo,
334
+ #if canImport(Security)
335
+ @Flag ( inversion: . prefixedEnableDisable,
336
336
exclusivity: . exclusive,
337
- help: " Search credentials in OS keychain " )
337
+ help: " Search credentials in macOS keychain " )
338
338
var keychain : Bool = true
339
+ #else
340
+ @Flag ( inversion: . prefixedEnableDisable,
341
+ exclusivity: . exclusive,
342
+ help: . hidden)
343
+ var keychain : Bool = false
339
344
#endif
340
345
341
346
@Flag ( name: . customLong( " netrc " ) , help: . hidden)
You can’t perform that action at this time.
0 commit comments