adapt to api change
This commit is contained in:
parent
e00070da7e
commit
68a693af67
@ -34,7 +34,7 @@ int main(int argc, char **argv)
|
||||
|
||||
app.setApplicationVersion(version);
|
||||
parser->addVersionOption();
|
||||
parser->addHelpOption(description);
|
||||
parser->setApplicationDescription(description);
|
||||
|
||||
parser->addOption(QCommandLineOption(QStringList() << "s" << "show", i18nc("Do not translate <name>", "Show plugins"), "name"));
|
||||
|
||||
|
@ -34,7 +34,7 @@ int main(int argc, char **argv)
|
||||
|
||||
app.setApplicationVersion(version);
|
||||
parser.addVersionOption();
|
||||
parser.addHelpOption(description);
|
||||
parser.setApplicationDescription(description);
|
||||
parser.addOption(QCommandLineOption(QStringList() << "h" << "hash", i18nc("Do not translate <path>", "Generate a SHA1 hash for the package at <path>"), "path"));
|
||||
parser.addOption(QCommandLineOption(QStringList() << "g" << "global", i18n("For install or remove, operates on packages installed for all users.")));
|
||||
parser.addOption(QCommandLineOption(QStringList() << "type",
|
||||
|
@ -39,7 +39,7 @@ int main(int argc, char** argv)
|
||||
QStringLiteral("Enable QML Javascript debugger"));
|
||||
|
||||
parser.addVersionOption();
|
||||
parser.addHelpOption(description);
|
||||
parser.setApplicationDescription(description);
|
||||
parser.addOption(dbg);
|
||||
parser.process(app);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user