1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-11-16 14:06:15 +00:00

Always show creator info when running.

This commit is contained in:
Fabian Schlenz 2016-07-13 06:07:37 +02:00
parent ee16af7d3c
commit 95a02e89c3

View File

@ -37,10 +37,14 @@ public class CommandLineController {
public UserManager user = null; public UserManager user = null;
public CommandLineController() { 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) { 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); System.exit(0);
} else if (CommandLineOptions.cmd_help) { } else if (CommandLineOptions.cmd_help) {
this.show_help(); this.show_help();