make exit codes match docs