From 95a02e89c3aa1c612f3073070c306332407a2cc2 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Wed, 13 Jul 2016 06:07:37 +0200 Subject: [PATCH] Always show creator info when running. --- .../telegram_backup/CommandLineController.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main/java/de/fabianonline/telegram_backup/CommandLineController.java b/src/main/java/de/fabianonline/telegram_backup/CommandLineController.java index d116172..4f77cbb 100644 --- a/src/main/java/de/fabianonline/telegram_backup/CommandLineController.java +++ b/src/main/java/de/fabianonline/telegram_backup/CommandLineController.java @@ -37,10 +37,14 @@ public class CommandLineController { public UserManager user = null; public CommandLineController() { + Log.debug("CommandLineController started. App version %s", Config.APP_APPVER); + System.out.println("Telegram_Backup version " + Config.APP_APPVER + ", Copyright (C) 2016 Fabian Schlenz"); + System.out.println(); + System.out.println("Telegram_Backup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are"); + System.out.println("welcome to redistribute it under certain conditions; run it with '--license' for details."); + System.out.println(); + if (CommandLineOptions.cmd_version) { - System.out.println("Telegram_Backup version " + Config.APP_APPVER + ", Copyright (C) 2016 Fabian Schlenz"); - System.out.println("Telegram_Backup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are"); - System.out.println("welcome to redistribute it under certain conditions; run it with '--license' for details."); System.exit(0); } else if (CommandLineOptions.cmd_help) { this.show_help();