mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2024-11-22 16:56:16 +00:00
Always show creator info when running.
This commit is contained in:
parent
ee16af7d3c
commit
95a02e89c3
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user