diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2022-03-22 15:28:55 +0100 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2022-03-22 21:53:20 +0100 |
commit | 5a57bd47fb2fae6ebc1194fc34b67e409316fbf7 (patch) | |
tree | cd4502481599d3162d3dd9961ff59cceac4fe82a /tools/qmllint/main.cpp | |
parent | 99a07a0904ebf2fb5d195be96f9cd2f7e15b44ab (diff) |
qmllint: Fix broken argument help entries
The fix and dry-run argument had broken help entries, this change fixes
this issue.
Change-Id: I744592e610f3d9941a2a54e4153cb2a92fbe9f1b
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tools/qmllint/main.cpp')
-rw-r--r-- | tools/qmllint/main.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tools/qmllint/main.cpp b/tools/qmllint/main.cpp index 6e751fdbb1..2a09dd51a5 100644 --- a/tools/qmllint/main.cpp +++ b/tools/qmllint/main.cpp @@ -148,15 +148,14 @@ All warnings can be set to three levels: absolutePath.setFlags(QCommandLineOption::HiddenFromHelp); parser.addOption(absolutePath); - QCommandLineOption fixFile(QStringList() - << "f" - << "fix" << QLatin1String("Automatically apply fix suggestions")); + QCommandLineOption fixFile(QStringList() << "f" + << "fix", + QLatin1String("Automatically apply fix suggestions")); parser.addOption(fixFile); - QCommandLineOption dryRun(QStringList() - << "dry-run" - << QLatin1String("Only print out the contents of the file after fix " - "suggestions without applying them")); + QCommandLineOption dryRun(QStringList() << "dry-run", + QLatin1String("Only print out the contents of the file after fix " + "suggestions without applying them")); parser.addOption(dryRun); parser.addPositionalArgument(QLatin1String("files"), |