diff --git a/src/com/maxwittig/reportgenerator/main/Main.kt b/src/com/maxwittig/reportgenerator/main/Main.kt index 8b6d69e..a45f6ee 100644 --- a/src/com/maxwittig/reportgenerator/main/Main.kt +++ b/src/com/maxwittig/reportgenerator/main/Main.kt @@ -12,9 +12,7 @@ fun main(args: Array) { if(args.size < 2) { - println("Missing arguments") - println("Required arguments: ") - return + throw IllegalArgumentException("Required arguments: [html||plan]") } val configFile = File(args[0]) val timekeeperFile = File(args[1])