Skip to content

Commit d79d7c5

Browse files
heckjrauhul
authored andcommitted
fixing up doc comment for the validator
1 parent 6ddadc0 commit d79d7c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/generate-docc-reference/Extensions/ArgumentParser+Markdown.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ extension CommandInfoV0 {
113113
/// - Parameters:
114114
/// - startlength: The starting width of the line this multi-line string appends onto.
115115
/// - 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.
116117
public func usage(startlength: Int, wraplength: Int) -> String {
117118
guard let args = self.arguments else {
118119
return ""
@@ -136,7 +137,6 @@ extension CommandInfoV0 {
136137
}
137138
}
138139
return multilineString
139-
//return args.map { $0.usage() }.joined(separator: " ")
140140
}
141141
}
142142

0 commit comments

Comments
 (0)