Commit 2d1a010e authored by Laurent Montel's avatar Laurent Montel 😁

Do not duplicate work of KAboutData::setupCommandLine()

parent 71fc2f51
......@@ -44,8 +44,6 @@ int main(int argc, char** argv)
parser.addPositionalArgument(QStringLiteral("file"), i18n("File to which we'll export"));
DiscoverBackendsFactory::setupCommandLine(&parser);
about.setupCommandLine(&parser);
parser.addHelpOption();
parser.addVersionOption();
parser.process(app);
about.processCommandLine(&parser);
DiscoverBackendsFactory::processCommandLine(&parser, false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment