From 94b74893c910c85ff4b4dcd3c5afe6bcdae7d963 Mon Sep 17 00:00:00 2001 From: rdk Date: Wed, 19 Jul 2023 15:18:09 +0200 Subject: [PATCH] update formatting on stdout --- src/main/groovy/cz/siret/prank/program/Main.groovy | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main/groovy/cz/siret/prank/program/Main.groovy b/src/main/groovy/cz/siret/prank/program/Main.groovy index 93764d6e..2bcd17b5 100644 --- a/src/main/groovy/cz/siret/prank/program/Main.groovy +++ b/src/main/groovy/cz/siret/prank/program/Main.groovy @@ -451,9 +451,7 @@ class Main implements Parametrized, Writable { return } - write "----------------------------------------------------------------------------------------------" - write " $versionName" - write "----------------------------------------------------------------------------------------------" + write "$versionName" write "" boolean error = false @@ -491,9 +489,7 @@ class Main implements Parametrized, Writable { } write "" - write "----------------------------------------------------------------------------------------------" - write " finished ${error?"with ERROR":"successfully"} in $timer.formatted" - write "----------------------------------------------------------------------------------------------" + write "Finished ${error?"with ERROR":"successfully"} in ${timer.formatted}." if (error) { System.exit(1)