From: garciadeblas Date: Fri, 22 Nov 2019 09:09:40 +0000 (+0100) Subject: Fix bug 896 X-Git-Tag: v7.0.0rc1~28 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=72399e3c7cb06007d29838a3bd4bbf58a14d1ed4;p=osm%2Fdevops.git Fix bug 896 Change-Id: I5f49bf38d6f72030d818d148e488f7d248165f67 Signed-off-by: garciadeblas --- diff --git a/installers/install_osm.sh b/installers/install_osm.sh index 50c11119..fcdcdf93 100755 --- a/installers/install_osm.sh +++ b/installers/install_osm.sh @@ -90,7 +90,7 @@ add_repo() { return 1 } -while getopts "hr:R:u:t:" o; do +while getopts ":hr:R:u:t:-:" o; do case "${o}" in h) usage && exit 0 @@ -107,6 +107,10 @@ while getopts "hr:R:u:t:" o; do t) OSM_DOCKER_TAG="${OPTARG}" ;; + -) + [ "${OPTARG}" == "help" ] && usage && exit 0 + continue + ;; *) ;; esac