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:
parent
74dbc9d412
commit
b959c35bea
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user