@@ -182,6 +182,7 @@ extension Option where Value: ExpressibleByArgument {
182
182
/// - name: A specification for what names are allowed for this flag.
183
183
/// - parsingStrategy: The behavior to use when looking for this option's value.
184
184
/// - help: Information about how to use this option.
185
+ /// - completion: Kind of completion provided to the user for this option.
185
186
public init (
186
187
name: NameSpecification = . long,
187
188
parsing parsingStrategy: SingleValueParsingStrategy = . next,
@@ -340,6 +341,7 @@ extension Option {
340
341
/// - parsingStrategy: The behavior to use when looking for this option's
341
342
/// value.
342
343
/// - help: Information about how to use this option.
344
+ /// - completion: Kind of completion provided to the user for this option.
343
345
public init < T: ExpressibleByArgument > (
344
346
name: NameSpecification = . long,
345
347
parsing parsingStrategy: SingleValueParsingStrategy = . next,
@@ -404,6 +406,7 @@ extension Option {
404
406
/// - name: A specification for what names are allowed for this flag.
405
407
/// - parsingStrategy: The behavior to use when looking for this option's value.
406
408
/// - help: Information about how to use this option.
409
+ /// - completion: Kind of completion provided to the user for this option.
407
410
/// - transform: A closure that converts a string into this property's type or throws an error.
408
411
public init (
409
412
wrappedValue: Value ,
@@ -435,6 +438,7 @@ extension Option {
435
438
/// - name: A specification for what names are allowed for this flag.
436
439
/// - parsingStrategy: The behavior to use when looking for this option's value.
437
440
/// - help: Information about how to use this option.
441
+ /// - completion: Kind of completion provided to the user for this option.
438
442
/// - transform: A closure that converts a string into this property's type or throws an error.
439
443
public init (
440
444
name: NameSpecification = . long,
@@ -502,6 +506,7 @@ extension Option {
502
506
/// - parsingStrategy: The behavior to use when parsing multiple values
503
507
/// from the command-line arguments.
504
508
/// - help: Information about how to use this option.
509
+ /// - completion: Kind of completion provided to the user for this option.
505
510
public init < Element> (
506
511
wrappedValue: [ Element ] ,
507
512
name: NameSpecification = . long,
@@ -530,6 +535,7 @@ extension Option {
530
535
/// - name: A specification for what names are allowed for this flag.
531
536
/// - parsingStrategy: The behavior to use when parsing multiple values from the command-line arguments.
532
537
/// - help: Information about how to use this option.
538
+ /// - completion: Kind of completion provided to the user for this option.
533
539
public init < Element> (
534
540
name: NameSpecification = . long,
535
541
parsing parsingStrategy: ArrayParsingStrategy = . singleValue,
@@ -608,6 +614,7 @@ extension Option {
608
614
/// - parsingStrategy: The behavior to use when parsing multiple values
609
615
/// from the command-line arguments.
610
616
/// - help: Information about how to use this option.
617
+ /// - completion: Kind of completion provided to the user for this option.
611
618
/// - transform: A closure that converts a string into this property's
612
619
/// element type or throws an error.
613
620
public init < Element> (
@@ -640,6 +647,7 @@ extension Option {
640
647
/// - name: A specification for what names are allowed for this flag.
641
648
/// - parsingStrategy: The behavior to use when parsing multiple values from the command-line arguments.
642
649
/// - help: Information about how to use this option.
650
+ /// - completion: Kind of completion provided to the user for this option.
643
651
/// - transform: A closure that converts a string into this property's element type or throws an error.
644
652
public init < Element> (
645
653
name: NameSpecification = . long,
0 commit comments