Skip to content
Snippets Groups Projects
Commit 242a6a50 authored by Hosh's avatar Hosh Committed by Natanael Copa
Browse files

scripts/mkimage.sh: Add explicit `--help` option to prevent exit code 1

parent 024a5d8a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment