From f27325a458a011760450bf05628df80e82c8df9f Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 27 Feb 2016 03:27:34 +0000 Subject: [PATCH] Print extra new lines only if logging is turned on --- source/net/filebot/Main.java | 1 - source/net/filebot/cli/ArgumentProcessor.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/net/filebot/Main.java b/source/net/filebot/Main.java index 928ed885..cb32bc81 100644 --- a/source/net/filebot/Main.java +++ b/source/net/filebot/Main.java @@ -168,7 +168,6 @@ public class Main { // CLI mode => run command-line interface and then exit if (args.runCLI()) { int status = new ArgumentProcessor().process(args, new CmdlineOperations()); - System.out.println(); System.exit(status); } diff --git a/source/net/filebot/cli/ArgumentProcessor.java b/source/net/filebot/cli/ArgumentProcessor.java index bb255edf..d2b467e2 100644 --- a/source/net/filebot/cli/ArgumentProcessor.java +++ b/source/net/filebot/cli/ArgumentProcessor.java @@ -115,7 +115,7 @@ public class ArgumentProcessor { } // script finished successfully - CLILogger.finest("Done ヾ(@⌒ー⌒@)ノ"); + CLILogger.finest("Done ヾ(@⌒ー⌒@)ノ" + System.lineSeparator()); return 0; } catch (Throwable e) { if (findCause(e, CmdlineException.class) != null) {