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
1 changed files with 1 additions and 1 deletions

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.