From a41382319876eefb5e2badf8fe3b8e5efb8fc7c7 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Wed, 13 Jul 2016 17:43:59 -0700 Subject: [PATCH] Reformat. --- src/main/kotlin/com/beust/kobalt/Main.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/kotlin/com/beust/kobalt/Main.kt b/src/main/kotlin/com/beust/kobalt/Main.kt index 56f9e085..5832da18 100644 --- a/src/main/kotlin/com/beust/kobalt/Main.kt +++ b/src/main/kotlin/com/beust/kobalt/Main.kt @@ -34,10 +34,10 @@ private fun parseArgs(argv: Array): Main.RunInfo { val result = JCommander(args) result.parse(*argv) KobaltLogger.LOG_LEVEL = if (args.log < 0) { - Constants.LOG_DEFAULT_LEVEL - } else if (args.log > Constants.LOG_MAX_LEVEL) { - Constants.LOG_MAX_LEVEL - } else args.log + Constants.LOG_DEFAULT_LEVEL + } else if (args.log > Constants.LOG_MAX_LEVEL) { + Constants.LOG_MAX_LEVEL + } else args.log return Main.RunInfo(result, args) }