From 242a6a502d3a36c3e8f4fd681f59dcfe1e4e3c7d Mon Sep 17 00:00:00 2001 From: Hosh <1788-hoshsadiq@users.gitlab.alpinelinux.org> Date: Wed, 28 Aug 2019 21:09:17 +0000 Subject: scripts/mkimage.sh: Add explicit `--help` option to prevent exit code 1 --- scripts/mkimage.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/mkimage.sh b/scripts/mkimage.sh index 0c3dea5da8..f77b497a51 100755 --- a/scripts/mkimage.sh +++ b/scripts/mkimage.sh @@ -218,6 +218,7 @@ while [ $# -gt 0 ]; do --simulate) _simulate="yes";; --checksum) _checksum="yes";; --yaml) _yaml="yes";; + --help) usage; exit 0;; --) break ;; -*) usage; exit 1;; esac -- cgit v1.2.3