modify getopts to pickup the secret option arg

This commit is contained in:
Bruck Wubete 2018-06-18 11:56:15 -04:00 committed by GitHub
parent e425195271
commit 6b4e08bbf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ change_var_value () {
# docker run -p 80:80/tcp -p 443:443/tcp -p 1935:1935/tcp -p 5066:5066/tcp -p 2202:2202 -p 32750-32768:32750-32768/udp --cap-add=NET_ADMIN ffdixon/play_win -h 192.168.0.130
# docker run -p 80:80/tcp -p 443:443/tcp -p 1935:1935/tcp -p 5066:5066/tcp -p 2202:2202 -p 32750-32768:32750-32768/udp --cap-add=NET_ADMIN ffdixon/play_win -h 192.168.10.186
while getopts "eh:" opt; do
while getopts ":eh:s:" opt; do
case $opt in
e)
env