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 70ab17e commit 14578b2Copy full SHA for 14578b2
Sources/Commands/Error.swift
@@ -48,8 +48,7 @@ extension Error: CustomStringConvertible {
48
case OptionParserError.multipleModesSpecified(let modes):
49
print(error: error)
50
51
- if isTTY(.stdErr)
52
- && (modes.contains{ ["--help", "-h", "--usage"].contains($0) }) {
+ if isTTY(.stdErr) && (modes.contains{ ["--help", "-h"].contains($0) }) {
53
print("", to: &stderr)
54
usage { print($0, to: &stderr) }
55
}
0 commit comments