mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-01-03 17:45:38 -05:00
Rename EntropyMeter -> Estimate (#1250)
* EntropyMeter -> Estimate * Cleaning estimate * Documentation * clang-formatting /cli
This commit is contained in:
parent
18c4df98ff
commit
471e684151
12 changed files with 201 additions and 169 deletions
|
|
@ -43,10 +43,9 @@ int Merge::execute(QStringList arguments)
|
|||
parser.addPositionalArgument("database1", QObject::tr("Path of the database to merge into."));
|
||||
parser.addPositionalArgument("database2", QObject::tr("Path of the database to merge from."));
|
||||
|
||||
QCommandLineOption samePasswordOption(
|
||||
QStringList() << "s"
|
||||
<< "same-credentials",
|
||||
QObject::tr("Use the same credentials for both database files."));
|
||||
QCommandLineOption samePasswordOption(QStringList() << "s"
|
||||
<< "same-credentials",
|
||||
QObject::tr("Use the same credentials for both database files."));
|
||||
|
||||
QCommandLineOption keyFile(QStringList() << "k"
|
||||
<< "key-file",
|
||||
|
|
@ -55,8 +54,8 @@ int Merge::execute(QStringList arguments)
|
|||
parser.addOption(keyFile);
|
||||
QCommandLineOption keyFileFrom(QStringList() << "f"
|
||||
<< "key-file-from",
|
||||
QObject::tr("Key file of the database to merge from."),
|
||||
QObject::tr("path"));
|
||||
QObject::tr("Key file of the database to merge from."),
|
||||
QObject::tr("path"));
|
||||
parser.addOption(keyFileFrom);
|
||||
|
||||
parser.addOption(samePasswordOption);
|
||||
|
|
@ -68,7 +67,6 @@ int Merge::execute(QStringList arguments)
|
|||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
||||
Database* db1 = Database::unlockFromStdin(args.at(0), parser.value(keyFile));
|
||||
if (db1 == nullptr) {
|
||||
return EXIT_FAILURE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue