diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-08-20 13:01:00 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-08-20 19:44:43 +0200 |
commit | 1ac947e3af42f8a93d9c85a4bce4f242085c4173 (patch) | |
tree | a1724fb3a2fed56d789988ec173b90fa4b2d2ff6 /bin | |
parent | 57ad532e75f62212f24dd2791583b975d09aca9d (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
Pick-to: 6.2
Fixes: QTBUG-95943
Change-Id: I7d26006246af4b38b5a2ec6deca3f45c5313afec
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'bin')
-rw-r--r-- | bin/qt-configure-module.bat.in | 3 | ||||
-rwxr-xr-x | bin/qt-configure-module.in | 7 |
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 |