mkimage.sh: fix --help and indent

This commit is contained in:
Harald Hoyer 2018-10-23 16:08:53 +02:00
parent 74a6f22059
commit f419b63561

View file

@ -5,7 +5,7 @@ PROGNAME=${0##*/}
usage() { usage() {
cat << EOF cat << EOF
Usage: $PROGNAME [OPTION] Usage: $PROGNAME [OPTION] DIR_OR_LATEST-JSON
-h, --help Display this help -h, --help Display this help
--crypt Use Luks2 to encrypt the data partition (default PW: 1) --crypt Use Luks2 to encrypt the data partition (default PW: 1)
@ -19,10 +19,10 @@ TEMP=$(
getopt -o '' \ getopt -o '' \
--long crypt \ --long crypt \
--long crypttpm2 \ --long crypttpm2 \
--long simple \ --long simple \
--long update \ --long update \
--long efishell \ --long efishell \
--long help \ --long help \
-- "$@" -- "$@"
) )