Commit 1bc56d3f authored by Stephane Mankowski's avatar Stephane Mankowski

Remove some warnings

parent f835b16d
......@@ -136,8 +136,6 @@ int main(int argc, char** argv)
QApplication::setApplicationVersion(about.version());
QCommandLineParser parser;
parser.addVersionOption();
parser.addHelpOption();
parser.addPositionalArgument(QStringLiteral("URL"), i18nc("Application argument", "Document to open"));
QCommandLineOption envOption(QStringList() << QStringLiteral("e") << QStringLiteral("env"), i18nc("Application argument", "Display environment variables used by this application."));
parser.addOption(envOption);
......
......@@ -82,9 +82,6 @@ int main(int argc, char** argv)
QCoreApplication::setApplicationVersion(about.version());
QCommandLineParser parser;
parser.addVersionOption();
parser.addHelpOption();
parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("in"), i18nc("Application argument", "Input file. Supported formats:\n%1", SKGImportExportManager::getImportMimeTypeFilter(false)), QStringLiteral("file")));
parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("out"), i18nc("Application argument", "Output file. Supported formats:\n%1", SKGImportExportManager::getExportMimeTypeFilter(false)), QStringLiteral("file")));
parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("param"), i18nc("Application argument", "Name of a parameter"), QStringLiteral("name")));
......
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