summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-08-20 13:01:00 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-08-20 17:45:01 +0000
commit71d4e83628a129132b00c7ae3fc525f52c067646 (patch)
tree9cfa8e19c2f367c635560587e61ceed245650d12 /bin
parent80c2a3987a06abd850944aaa3f88974e157c4c02 (diff)
Add missing -help argument to qt-configure-module
Now it's possible to display a configure help screen per module with qt-configure-module <module-source-dir> -help Fixes: QTBUG-95943 Change-Id: I7d26006246af4b38b5a2ec6deca3f45c5313afec Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 1ac947e3af42f8a93d9c85a4bce4f242085c4173) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'bin')
-rw-r--r--bin/qt-configure-module.bat.in3
-rwxr-xr-xbin/qt-configure-module.in7
2 files changed, 9 insertions, 1 deletions
diff --git a/bin/qt-configure-module.bat.in b/bin/qt-configure-module.bat.in
index c963111017..10c8ef85fd 100644
--- a/bin/qt-configure-module.bat.in
+++ b/bin/qt-configure-module.bat.in
@@ -28,4 +28,7 @@ goto :eof
:print_usage
echo Usage: qt-configure-module ^<module-source-dir^> [options]
+echo.
+echo To display the available options for a Qt module, run
+echo qt-configure-module ^<module-source-dir^> -help
goto :eof
diff --git a/bin/qt-configure-module.in b/bin/qt-configure-module.in
index f337f40b8c..cdd350ea22 100755
--- a/bin/qt-configure-module.in
+++ b/bin/qt-configure-module.in
@@ -4,7 +4,12 @@ script_dir_path=`(cd "$script_dir_path"; /bin/pwd)`
printUsage()
{
- echo 'Usage: qt-configure-module <module-source-dir> [options]'
+ cat <<EOF
+Usage: qt-configure-module <module-source-dir> [options]
+
+To display the available options for a Qt module, run
+qt-configure-module <module-source-dir> -help
+EOF
}
if [ "$#" -lt 1 ]; then