mkimage.sh: fix --help and indent
This commit is contained in:
parent
74a6f22059
commit
f419b63561
10
mkimage.sh
10
mkimage.sh
|
@ -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 \
|
||||||
-- "$@"
|
-- "$@"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue