Skip to content

Commit a92357a

Browse files
edward-greenawayairspeedswift
authored andcommitted
Update documentation for CommandLine.arguments (#25304)
Addresses SR-6776 Documentation comment for CommandLine.arguments contains implementation remarks
1 parent 69c643b commit a92357a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

stdlib/public/core/CommandLine.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ public enum CommandLine {
4343
return _unsafeArgv
4444
}
4545

46-
/// Access to the swift arguments, also use lazy initialization of static
47-
/// properties to safely initialize the swift arguments.
46+
/// Access to the Swift command line arguments.
47+
// Use lazy initialization of static properties to
48+
// safely initialize the swift arguments.
4849
public static var arguments: [String]
4950
= (0..<Int(argc)).map { String(cString: _unsafeArgv[$0]!) }
5051
}

0 commit comments

Comments
 (0)