exit 1 if no param was given