From 0f707cc709df72836dcf45c37d3943bffaa6d19c Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sun, 12 Jan 2020 14:46:21 +0100 Subject: [PATCH] It alreadys added by kaboutdata --- app/main.cpp | 2 -- smsapp/main.cpp | 2 -- urlhandler/kdeconnect-handler.cpp | 1 - 3 files changed, 5 deletions(-) diff --git a/app/main.cpp b/app/main.cpp index e03f37ae7..57ae4606b 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -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); } diff --git a/smsapp/main.cpp b/smsapp/main.cpp index 3e7c7a42b..66efcc98c 100644 --- a/smsapp/main.cpp +++ b/smsapp/main.cpp @@ -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); diff --git a/urlhandler/kdeconnect-handler.cpp b/urlhandler/kdeconnect-handler.cpp index facd6f5b6..f7ee28834 100644 --- a/urlhandler/kdeconnect-handler.cpp +++ b/urlhandler/kdeconnect-handler.cpp @@ -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);