diff --git a/src/main/kotlin/bandcampcollectiondownloader/Main.kt b/src/main/kotlin/bandcampcollectiondownloader/Main.kt index a692854..6b7bd4c 100644 --- a/src/main/kotlin/bandcampcollectiondownloader/Main.kt +++ b/src/main/kotlin/bandcampcollectiondownloader/Main.kt @@ -43,7 +43,7 @@ fun main(args: Array) { } // If the wrong arguments are given, show help + error message - catch (e: CommandLine.MissingParameterException) { + catch (e: CommandLine.ParameterException) { CommandLine.usage(Args(), System.out) System.err.println(e.message) return