iopu: fix help printout.

getopts string missed the "h"
This commit is contained in:
Kenneth Johansson 2019-09-19 12:29:49 +02:00
parent d6d609ae30
commit b16525aa3b

View file

@ -164,7 +164,7 @@ trap finish EXIT
trap timeout SIGALRM trap timeout SIGALRM
trap sig_pipe SIGPIPE trap sig_pipe SIGPIPE
while getopts "nrxb" opt; do while getopts "nrxbh" opt; do
case $opt in case $opt in
n) n)
upd_noreboot=1 upd_noreboot=1
@ -184,7 +184,7 @@ while getopts "nrxb" opt; do
exit 0 exit 0
;; ;;
h) h)
upd_usage usage
exit 1 exit 1
;; ;;
esac esac