Change cli commands description.

This commit is contained in:
Louis-Bertrand Varin 2017-02-15 21:05:40 -05:00 committed by Louis-Bertrand Varin
parent 64dfada038
commit f579345059
4 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ int Extract::execute(int argc, char **argv)
QCommandLineParser parser;
parser.setApplicationDescription(QCoreApplication::translate("main",
"Extract and print a KeePassXC database file."));
"Extract and print the content of a database."));
parser.addPositionalArgument("database", QCoreApplication::translate("main", "path of the database to extract."));
parser.process(app);

View File

@ -63,7 +63,7 @@ int List::execute(int argc, char **argv)
QCommandLineParser parser;
parser.setApplicationDescription(QCoreApplication::translate("main",
"List the passwords in the database."));
"List database entries."));
parser.addPositionalArgument("database", QCoreApplication::translate("main", "path of the database."));
parser.process(app);

View File

@ -37,7 +37,7 @@ int Merge::execute(int argc, char** argv)
QCoreApplication app(argc, argv);
QCommandLineParser parser;
parser.setApplicationDescription(QCoreApplication::translate("main", "Merge 2 KeePassXC database files."));
parser.setApplicationDescription(QCoreApplication::translate("main", "Merge two databases."));
parser.addPositionalArgument("database1", QCoreApplication::translate("main", "path of the database to merge into."));
parser.addPositionalArgument("database2", QCoreApplication::translate("main", "path of the database to merge from."));

View File

@ -47,10 +47,10 @@ int main(int argc, char **argv)
QString description("KeePassXC command line interface.");
description = description.append(QString("\n\nAvailable commands:"));
description = description.append(QString("\n extract\tExtract and print a KeePassXC database file."));
description = description.append(QString("\n extract\tExtract and print the content of a database."));
description = description.append(QString("\n entropy-meter\tCalculate password entropy."));
description = description.append(QString("\n list\t\tList database entries."));
description = description.append(QString("\n merge\t\tMerge 2 KeePassXC database files."));
description = description.append(QString("\n merge\t\tMerge two databases."));
parser.setApplicationDescription(QCoreApplication::translate("main", qPrintable(description)));
parser.addPositionalArgument("command", QCoreApplication::translate("main", "Name of the command to execute."));