Skip to content

Commit 71943b7

Browse files
committed
[Utility] Rename COMMANDS to POSITIONAL ARGUMENTS
- <rdar://problem/33851991> `swift run --help` says COMMANDS where it should say OPTIONS
1 parent 067afc5 commit 71943b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Utility/ArgumentParser.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ public final class ArgumentParser {
895895

896896
if positionalArguments.count > 0 {
897897
stream <<< "\n\n"
898-
stream <<< "COMMANDS:"
898+
stream <<< "POSITIONAL ARGUMENTS:"
899899
for argument in positionalArguments.lazy.sorted(by: {$0.name < $1.name}) {
900900
guard let usage = argument.usage else { continue }
901901
print(formatted: argument.name, usage: usage, on: stream)

0 commit comments

Comments
 (0)