Skip to content

Commit b34cf39

Browse files
authored
Fix duplicate "(default: 3)" in --max-concurrent-downloads help text (apple#1725)
Remove manually specified default value from help string since ArgumentParser already appends it automatically from the property's default value. Signed-off-by: Charlie Le <charlie_le@apple.com>
1 parent babddaf commit b34cf39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/Services/ContainerAPIService/Client/Flags.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ public struct Flags {
389389
self.maxConcurrentDownloads = maxConcurrentDownloads
390390
}
391391

392-
@Option(name: .long, help: "Maximum number of concurrent downloads (default: 3)")
392+
@Option(name: .long, help: "Maximum number of concurrent downloads")
393393
public var maxConcurrentDownloads: Int = 3
394394
}
395395
}

0 commit comments

Comments
 (0)