@@ -39,9 +39,9 @@ public struct CommandConfiguration {
3939 /// display.
4040 public var discussion : String
4141
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
4545
4646 /// Version information for this command.
4747 public var version : String
@@ -71,8 +71,9 @@ public struct CommandConfiguration {
7171 /// automatically generating a usage description. Passing an empty string
7272 /// hides the usage string altogether.
7373 /// - 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.
7677 /// - version: The version number for this command. When you provide a
7778 /// non-empty string, the argument parser prints it if the user provides
7879 /// a `--version` flag.
@@ -91,7 +92,7 @@ public struct CommandConfiguration {
9192 abstract: String = " " ,
9293 usage: String ? = nil ,
9394 discussion: String = " " ,
94- supplementalDiscussion : String = " " ,
95+ detailedDiscussion : String = " " ,
9596 version: String = " " ,
9697 shouldDisplay: Bool = true ,
9798 subcommands: [ ParsableCommand . Type ] = [ ] ,
@@ -102,7 +103,7 @@ public struct CommandConfiguration {
102103 self . abstract = abstract
103104 self . usage = usage
104105 self . discussion = discussion
105- self . supplementalDiscussion = supplementalDiscussion
106+ self . detailedDiscussion = detailedDiscussion
106107 self . version = version
107108 self . shouldDisplay = shouldDisplay
108109 self . subcommands = subcommands
@@ -118,7 +119,7 @@ public struct CommandConfiguration {
118119 abstract: String = " " ,
119120 usage: String ? = nil ,
120121 discussion: String = " " ,
121- supplementalDiscussion : String = " " ,
122+ detailedDiscussion : String = " " ,
122123 version: String = " " ,
123124 shouldDisplay: Bool = true ,
124125 subcommands: [ ParsableCommand . Type ] = [ ] ,
@@ -130,7 +131,7 @@ public struct CommandConfiguration {
130131 self . abstract = abstract
131132 self . usage = usage
132133 self . discussion = discussion
133- self . supplementalDiscussion = " "
134+ self . detailedDiscussion = " "
134135 self . version = version
135136 self . shouldDisplay = shouldDisplay
136137 self . subcommands = subcommands
@@ -156,15 +157,15 @@ extension CommandConfiguration {
156157 abstract: abstract,
157158 usage: " " ,
158159 discussion: discussion,
159- supplementalDiscussion : " " ,
160+ detailedDiscussion : " " ,
160161 version: version,
161162 shouldDisplay: shouldDisplay,
162163 subcommands: subcommands,
163164 defaultSubcommand: defaultSubcommand,
164165 helpNames: helpNames)
165166 }
166167
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. " )
168169 public init (
169170 commandName: String ? ,
170171 abstract: String ,
@@ -181,7 +182,7 @@ extension CommandConfiguration {
181182 abstract: abstract,
182183 usage: usage,
183184 discussion: discussion,
184- supplementalDiscussion : " " ,
185+ detailedDiscussion : " " ,
185186 version: version,
186187 shouldDisplay: shouldDisplay,
187188 subcommands: subcommands,
0 commit comments