diff options
author | Florian Müllner <fmuellner@gnome.org> | 2023-03-20 01:55:59 +0100 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2023-04-20 15:59:56 +0000 |
commit | d97c667937a76de843fe8637915acf91b8b55799 (patch) | |
tree | efb6dbe3d68c076fc11f0b29a961770fb07d31f1 | |
parent | cdd8d335870481a3a994ab4673dc44e97a78e761 (diff) | |
download | gnome-shell-d97c667937a76de843fe8637915acf91b8b55799.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>
-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 |