diff options
author | Florian Müllner <fmuellner@gnome.org> | 2023-03-20 01:55:59 +0100 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2023-04-25 08:07:57 +0000 |
commit | 14fdfae9016bf0e3b5a52aee9e961a283d8de638 (patch) | |
tree | 561576c9e0a7433be3db0502b4a3c6e8b91794b9 | |
parent | 9e189457734a07543a494b14dede4ae6924f08f4 (diff) | |
download | gnome-shell-14fdfae9016bf0e3b5a52aee9e961a283d8de638.tar.gz |
ci: Add --help option to meson-install script
It's not really necessary in an internal script, but it's easy
enough and doesn't hurt *shrug*
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2712>
(cherry picked from commit d97c667937a76de843fe8637915acf91b8b55799)
-rwxr-xr-x | .gitlab-ci/install-meson-project.sh | 10 |
1 files changed, 9 insertions, 1 deletions
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 |