aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2025-02-10 14:58:47 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2025-02-26 13:56:54 +0000
commita2f3f47b938adc7bf93f0aa437a2e55a6425e39d (patch)
tree822538fa79b6de9857bbdd7b89883fe77caef071
parentd2bb184897e1c7392127700e6231e79393716cb7 (diff)
qmllint: Update help to correctly describe warning behavior
Amends 74ec76d5edc2446927523dc1b301bf8cc75beb7d Change-Id: Ibeeeff03587abaff3853b2983cceb76c8d74dd33 Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io> Reviewed-by: Albert Astals Cid <aacid@kde.org> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io> (cherry picked from commit 87e225300c5eaa7bc85ff0a0e641c0d09b6d728b) Reviewed-by: Semih Yavuz <semih.yavuz@qt.io> (cherry picked from commit d4e9d95397390f7ef76e92f0b4e20161b2920369) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--tools/qmllint/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmllint/main.cpp b/tools/qmllint/main.cpp
index 3ceb83e397..baecbd3bb6 100644
--- a/tools/qmllint/main.cpp
+++ b/tools/qmllint/main.cpp
@@ -76,7 +76,7 @@ int main(int argv, char *argc[])
All warnings can be set to three levels:
disable - Fully disables the warning.
info - Displays the warning but does not influence the return code.
- warning - Displays the warning and leads to a non-zero exit code if encountered.
+ warning - Displays the warning and leads to a non-zero exit code if more warnings than max-warnings occur.
)"));
parser.addHelpOption();