lm-release.sh: check parameters