Unverified Commit e553191e authored by Hosh's avatar Hosh Committed by Hosh

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

parent b65cdca8
Pipeline #244 passed with stage
in 22 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment