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 fd4c3b6 commit afe0b95Copy full SHA for afe0b95
Sources/ArgumentParser/Usage/DumpHelpGenerator.swift
@@ -26,7 +26,7 @@ internal struct DumpHelpGenerator {
26
func rendered() -> String {
27
let encoder = JSONEncoder()
28
encoder.outputFormatting = .prettyPrinted
29
- if #available(macOS 10.13, *) {
+ if #available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *) {
30
encoder.outputFormatting.insert(.sortedKeys)
31
}
32
guard let encoded = try? encoder.encode(self.toolInfo) else { return "" }
0 commit comments