summaryrefslogtreecommitdiffstats
path: root/tools/qscxmlc/qscxmlc.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@theqtcompany.com>2016-02-17 15:47:58 +0100
committerJarek Kobus <jaroslaw.kobus@theqtcompany.com>2016-03-07 13:15:36 +0000
commit668518fd978326c53f2327afd37891fb4b32bf5f (patch)
tree29d280e7f5ea76d196edddafaa04b98c60a18998 /tools/qscxmlc/qscxmlc.cpp
parentf875a4546eee8d27607f33995121ff10225b3d21 (diff)
Rename qscxmlc options
Change-Id: I6014b117424779f51f28710b6df5635e41d22fae Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
Diffstat (limited to 'tools/qscxmlc/qscxmlc.cpp')
-rw-r--r--tools/qscxmlc/qscxmlc.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/qscxmlc/qscxmlc.cpp b/tools/qscxmlc/qscxmlc.cpp
index 2cfb4b9..82eb8df 100644
--- a/tools/qscxmlc/qscxmlc.cpp
+++ b/tools/qscxmlc/qscxmlc.cpp
@@ -91,7 +91,6 @@ int main(int argc, char *argv[])
QCommandLineParser cmdParser;
- cmdParser.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions);
cmdParser.addHelpOption();
cmdParser.addVersionOption();
cmdParser.setApplicationDescription(QCoreApplication::translate("main",
@@ -102,13 +101,13 @@ int main(int argc, char *argv[])
QCommandLineOption optionNamespace(QLatin1String("namespace"),
QCoreApplication::translate("main", "Put generated code into <namespace>."),
QCoreApplication::translate("main", "namespace"));
- QCommandLineOption optionOutputBaseName(QLatin1String("o"),
+ QCommandLineOption optionOutputBaseName(QStringList() << QLatin1String("o") << QLatin1String("output"),
QCoreApplication::translate("main", "Generate <name>.h and <name>.cpp files."),
QCoreApplication::translate("main", "name"));
- QCommandLineOption optionOutputHeaderName(QLatin1String("oh"),
+ QCommandLineOption optionOutputHeaderName(QLatin1String("header"),
QCoreApplication::translate("main", "Generate <name> for the header file."),
QCoreApplication::translate("main", "name"));
- QCommandLineOption optionOutputSourceName(QLatin1String("ocpp"),
+ QCommandLineOption optionOutputSourceName(QLatin1String("impl"),
QCoreApplication::translate("main", "Generate <name> for the source file."),
QCoreApplication::translate("main", "name"));
QCommandLineOption optionClassName(QLatin1String("classname"),