[gnome-initial-setup] ci: Support --help and -h in helper script



commit 941cddea3f7719bb34af94e734f05177f69ed37b
Author: Will Thompson <wjt endlessm com>
Date:   Wed Sep 9 11:30:37 2020 +0100

    ci: Support --help and -h in helper script

 .gitlab-ci/run-docker.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci/run-docker.sh b/.gitlab-ci/run-docker.sh
index bf4144f5..4c89eee8 100755
--- a/.gitlab-ci/run-docker.sh
+++ b/.gitlab-ci/run-docker.sh
@@ -31,7 +31,7 @@ while (($# > 0)); do
                 run) run=1;;
                 push) push=1;;
                 list) list=1;;
-                help) print_help=1;;
+                help|--help|-h) print_help=1;;
                 --base|-b) read_arg base "$@" || shift;;
                 --base-version) read_arg base_version "$@" || shift;;
                 --no-login) no_login=1;;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]