diff --git a/.gitlab-ci/install-meson-project.sh b/.gitlab-ci/install-meson-project.sh index c49d50c7f..e87407fe2 100755 --- a/.gitlab-ci/install-meson-project.sh +++ b/.gitlab-ci/install-meson-project.sh @@ -11,12 +11,15 @@ usage() { Options: -Dkey=val Option to pass on to meson + -h, --help Display this help + EOF } TEMP=$(getopt \ --name=$(basename $0) \ - --options=D \ + --options='D:h' \ + --longoptions='help' \ -- "$@") eval set -- "$TEMP" @@ -31,6 +34,11 @@ while true; do shift 2 ;; + -h|--help) + usage + exit 0 + ;; + --) shift break