We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ddadc0 commit d79d7c5Copy full SHA for d79d7c5
Tools/generate-docc-reference/Extensions/ArgumentParser+Markdown.swift
@@ -113,6 +113,7 @@ extension CommandInfoV0 {
113
/// - Parameters:
114
/// - startlength: The starting width of the line this multi-line string appends onto.
115
/// - wraplength: The maximum width of the multi-linecode block.
116
+ /// - Returns: A wrapped, multi-line string that wraps the commands arguments into a text block.
117
public func usage(startlength: Int, wraplength: Int) -> String {
118
guard let args = self.arguments else {
119
return ""
@@ -136,7 +137,6 @@ extension CommandInfoV0 {
136
137
}
138
139
return multilineString
- //return args.map { $0.usage() }.joined(separator: " ")
140
141
142
0 commit comments