From fce97e13a3420fcca948b4a8ef4731c26c44b048 Mon Sep 17 00:00:00 2001 From: Dima Litvinov Date: Thu, 11 Jun 2020 19:04:13 +0300 Subject: [PATCH] Fix --http-port option parsing --- run.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index eb218ca..cae39e6 100755 --- a/run.sh +++ b/run.sh @@ -219,7 +219,12 @@ do _HOST="${__maybe_param}" shift ;; - -p|--port|--http-port) + -p|--port) + _require_argument_int "${__option}" "${__maybe_param}" + _HTTP_PORT="${__maybe_param}" + shift + ;; + --http-port) _require_argument_int "${__option}" "${__maybe_param}" _HTTP_PORT="${__maybe_param}" shift