Skip to content

Commit

Permalink
Fix --http-port option parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
dimalit committed Jun 11, 2020
1 parent 831c0be commit fce97e1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fce97e1

Please sign in to comment.