mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
iopu: fix help printout.
getopts string missed the "h"
This commit is contained in:
parent
d6d609ae30
commit
b16525aa3b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue