diff options
author | Hosh <1788-hoshsadiq@users.gitlab.alpinelinux.org> | 2019-08-28 21:09:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-09-26 14:50:09 +0000 |
commit | 242a6a502d3a36c3e8f4fd681f59dcfe1e4e3c7d (patch) | |
tree | d4d5cde3f989675e51423f7253a21242405b719f | |
parent | 024a5d8a2a7a7d4295079613bb63e569ab805c50 (diff) | |
download | aports-242a6a502d3a36c3e8f4fd681f59dcfe1e4e3c7d.tar.bz2 aports-242a6a502d3a36c3e8f4fd681f59dcfe1e4e3c7d.tar.xz |
scripts/mkimage.sh: Add explicit `--help` option to prevent exit code 1
-rwxr-xr-x | scripts/mkimage.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |