fix exit status and message on missing arg