Fix bug 896
Change-Id: I5f49bf38d6f72030d818d148e488f7d248165f67
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/installers/install_osm.sh b/installers/install_osm.sh
index 50c1111..fcdcdf9 100755
--- a/installers/install_osm.sh
+++ b/installers/install_osm.sh
@@ -90,7 +90,7 @@
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 @@
t)
OSM_DOCKER_TAG="${OPTARG}"
;;
+ -)
+ [ "${OPTARG}" == "help" ] && usage && exit 0
+ continue
+ ;;
*)
;;
esac