It alreadys added by kaboutdata
This commit is contained in:
parent
c54104b24f
commit
0f707cc709
3 changed files with 0 additions and 5 deletions
|
@ -37,8 +37,6 @@ int main(int argc, char* argv[])
|
|||
{
|
||||
QCommandLineParser parser;
|
||||
aboutData.setupCommandLine(&parser);
|
||||
parser.addVersionOption();
|
||||
parser.addHelpOption();
|
||||
parser.process(app);
|
||||
aboutData.processCommandLine(&parser);
|
||||
}
|
||||
|
|
|
@ -51,8 +51,6 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
QCommandLineParser parser;
|
||||
aboutData.setupCommandLine(&parser);
|
||||
parser.addVersionOption();
|
||||
parser.addHelpOption();
|
||||
parser.addOption(QCommandLineOption(QStringLiteral("device"), i18n("Select a device"), i18n("id")));
|
||||
parser.addOption(QCommandLineOption(QStringLiteral("message"), i18n("Send a message"), i18n("message")));
|
||||
parser.process(app);
|
||||
|
|
|
@ -61,7 +61,6 @@ int main(int argc, char** argv)
|
|||
QCommandLineParser parser;
|
||||
parser.addPositionalArgument(QStringLiteral("url"), i18n("URL to share"));
|
||||
parser.addOption(QCommandLineOption(QStringLiteral("open"), QStringLiteral("Open the file on the remote device")));
|
||||
parser.addHelpOption();
|
||||
about.setupCommandLine(&parser);
|
||||
parser.process(app);
|
||||
about.processCommandLine(&parser);
|
||||
|
|
Loading…
Reference in a new issue