@@ -39,9 +39,9 @@ public struct CommandConfiguration {
39
39
/// display.
40
40
public var discussion : String
41
41
42
- /// Additional description of this command to be shown in supplemental content
43
- /// such as manuals.
44
- public var supplementalDiscussion : String
42
+ /// Additional detailed description of the argument to be shown in the
43
+ /// detailed help display and supplemental content such as generated manuals.
44
+ public var detailedDiscussion : String
45
45
46
46
/// Version information for this command.
47
47
public var version : String
@@ -71,8 +71,9 @@ public struct CommandConfiguration {
71
71
/// automatically generating a usage description. Passing an empty string
72
72
/// hides the usage string altogether.
73
73
/// - discussion: A longer description of the command.
74
- /// - supplementalDiscussion: Additional description of the command for
75
- /// supplemental content.
74
+ /// - detailedDiscussion: Additional detailed description to be shown in the
75
+ /// detailed help display and supplemental content such as generated
76
+ /// manuals.
76
77
/// - version: The version number for this command. When you provide a
77
78
/// non-empty string, the argument parser prints it if the user provides
78
79
/// a `--version` flag.
@@ -91,7 +92,7 @@ public struct CommandConfiguration {
91
92
abstract: String = " " ,
92
93
usage: String ? = nil ,
93
94
discussion: String = " " ,
94
- supplementalDiscussion : String = " " ,
95
+ detailedDiscussion : String = " " ,
95
96
version: String = " " ,
96
97
shouldDisplay: Bool = true ,
97
98
subcommands: [ ParsableCommand . Type ] = [ ] ,
@@ -102,7 +103,7 @@ public struct CommandConfiguration {
102
103
self . abstract = abstract
103
104
self . usage = usage
104
105
self . discussion = discussion
105
- self . supplementalDiscussion = supplementalDiscussion
106
+ self . detailedDiscussion = detailedDiscussion
106
107
self . version = version
107
108
self . shouldDisplay = shouldDisplay
108
109
self . subcommands = subcommands
@@ -118,7 +119,7 @@ public struct CommandConfiguration {
118
119
abstract: String = " " ,
119
120
usage: String ? = nil ,
120
121
discussion: String = " " ,
121
- supplementalDiscussion : String = " " ,
122
+ detailedDiscussion : String = " " ,
122
123
version: String = " " ,
123
124
shouldDisplay: Bool = true ,
124
125
subcommands: [ ParsableCommand . Type ] = [ ] ,
@@ -130,7 +131,7 @@ public struct CommandConfiguration {
130
131
self . abstract = abstract
131
132
self . usage = usage
132
133
self . discussion = discussion
133
- self . supplementalDiscussion = " "
134
+ self . detailedDiscussion = " "
134
135
self . version = version
135
136
self . shouldDisplay = shouldDisplay
136
137
self . subcommands = subcommands
@@ -156,15 +157,15 @@ extension CommandConfiguration {
156
157
abstract: abstract,
157
158
usage: " " ,
158
159
discussion: discussion,
159
- supplementalDiscussion : " " ,
160
+ detailedDiscussion : " " ,
160
161
version: version,
161
162
shouldDisplay: shouldDisplay,
162
163
subcommands: subcommands,
163
164
defaultSubcommand: defaultSubcommand,
164
165
helpNames: helpNames)
165
166
}
166
167
167
- @available ( * , deprecated, message: " Use the member-wise initializer with the extendedDiscussion parameter. " )
168
+ @available ( * , deprecated, message: " Use the member-wise initializer with the detailedDiscussion parameter. " )
168
169
public init (
169
170
commandName: String ? ,
170
171
abstract: String ,
@@ -181,7 +182,7 @@ extension CommandConfiguration {
181
182
abstract: abstract,
182
183
usage: usage,
183
184
discussion: discussion,
184
- supplementalDiscussion : " " ,
185
+ detailedDiscussion : " " ,
185
186
version: version,
186
187
shouldDisplay: shouldDisplay,
187
188
subcommands: subcommands,
0 commit comments