1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-12-26 14:45:34 +00:00

Usind --login --account <x> will now directly login you to the specified account. Fixes #78.

This commit is contained in:
Fabian Schlenz 2018-03-07 06:15:16 +01:00
parent 74dbc9d412
commit b959c35bea

View File

@ -95,7 +95,7 @@ class CommandLineController {
}
logger.debug("CommandLineOptions.cmd_login: {}", CommandLineOptions.cmd_login)
if (CommandLineOptions.cmd_login) {
cmd_login(account)
cmd_login(CommandLineOptions.val_account)
System.exit(0)
}
// If we reach this point, we can assume that there is an account and a database can be loaded / created.