mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-28 08:49:42 -05:00
Change cli commands description.
This commit is contained in:
parent
64dfada038
commit
f579345059
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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."));
|
||||
|
||||
|
@ -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."));
|
||||
|
Loading…
Reference in New Issue
Block a user