prepare-root.sh: add missing --help option

This commit is contained in:
Harald Hoyer 2018-11-02 18:16:50 +01:00
parent d8a4c752da
commit 8c1cc38721

View file

@ -32,6 +32,7 @@ WITH_UPDATES=1
TEMP=$(
getopt -o '' \
--long help \
--long pkglist: \
--long excludelist: \
--long outdir: \
@ -126,6 +127,10 @@ while true; do
CHECK_UPDATE=1
shift 1; continue
;;
'--help')
usage
exit 0
;;
'--')
shift
break