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 sig_pipe SIGPIPE
|
||||
|
||||
while getopts "nrxb" opt; do
|
||||
while getopts "nrxbh" opt; do
|
||||
case $opt in
|
||||
n)
|
||||
upd_noreboot=1
|
||||
|
|
@ -184,7 +184,7 @@ while getopts "nrxb" opt; do
|
|||
exit 0
|
||||
;;
|
||||
h)
|
||||
upd_usage
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue