diff --git a/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift b/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift index b7e0e8c30..de0ab7ce9 100644 --- a/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift +++ b/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift @@ -24,7 +24,7 @@ public protocol ParsableArguments: Decodable { /// creating a new instance from command-line arguments. mutating func validate() throws - /// The label to use for "Error: ..." messages from this type. (experimental) + /// The label to use for "Error: ..." messages from this type (experimental). static var _errorLabel: String { get } } diff --git a/Sources/ArgumentParser/Parsing/ArgumentSet.swift b/Sources/ArgumentParser/Parsing/ArgumentSet.swift index c37749334..c07e76cf4 100644 --- a/Sources/ArgumentParser/Parsing/ArgumentSet.swift +++ b/Sources/ArgumentParser/Parsing/ArgumentSet.swift @@ -466,8 +466,9 @@ struct LenientParser { }[...] guard !argumentStack.isEmpty else { return } - /// Pops arguments off the stack until the next valid value. Skips over - /// dash-prefixed inputs unless `unconditional` is `true`. + /// Pops arguments off the stack until the next valid value. + /// + /// Skips over dash-prefixed inputs unless `unconditional` is `true`. func next(unconditional: Bool) -> SplitArguments.Element? { while let arg = argumentStack.popFirst() { if arg.isValue || unconditional {