1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-09-29 02:15:50 +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 CommandLineController() {
if (CommandLineOptions.cmd_version) {
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.exit(0);
} else if (CommandLineOptions.cmd_help) {
this.show_help();