Skip to content

Commit 14578b2

Browse files
committed
Remove a leftover mention of the defunct "--usage" flag.
1 parent 70ab17e commit 14578b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/Commands/Error.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ extension Error: CustomStringConvertible {
4848
case OptionParserError.multipleModesSpecified(let modes):
4949
print(error: error)
5050

51-
if isTTY(.stdErr)
52-
&& (modes.contains{ ["--help", "-h", "--usage"].contains($0) }) {
51+
if isTTY(.stdErr) && (modes.contains{ ["--help", "-h"].contains($0) }) {
5352
print("", to: &stderr)
5453
usage { print($0, to: &stderr) }
5554
}

0 commit comments

Comments
 (0)