Browse Source

Add missing default values in help

master
Gwendal 6 years ago
parent
commit
2a02b13ad7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/kotlin/bandcampcollectiondownloader/Main.kt

+ 2
- 2
src/main/kotlin/bandcampcollectiondownloader/Main.kt View File

@ -25,10 +25,10 @@ data class Args(
@CommandLine.Option(names = ["-h", "--help"], usageHelp = true, description = ["Display this help message."])
var help: Boolean = false,
@CommandLine.Option(names = ["-r", "--retries"], usageHelp = false, description = ["Amount of retries when downloading an album."])
@CommandLine.Option(names = ["-r", "--retries"], usageHelp = false, description = ["Amount of retries when downloading an album (default: 3)."])
var retries: Int = 3,
@CommandLine.Option(names = ["-t", "--timeout"], usageHelp = false, description = ["Timeout in ms before giving up an HTTP connection."])
@CommandLine.Option(names = ["-t", "--timeout"], usageHelp = false, description = ["Timeout in ms before giving up an HTTP connection (default: 5000)."])
var timeout: Int = 5000
)


Loading…
Cancel
Save