From 3a0f0a4c6bb40686d746af7d378154dd918c8f67 Mon Sep 17 00:00:00 2001 From: max-wittig Date: Fri, 13 Jan 2017 22:33:39 +0100 Subject: [PATCH] added configbuilder and example config.json --- src/com/maxwittig/reportgenerator/main/Main.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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])