mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2025-06-28 19:36:25 +00:00
Usind --login --account <x>
will now directly login you to the specified account. Fixes #78.
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user