diff --git a/please.sh b/please.sh index d4c3639..fdbc2ae 100755 --- a/please.sh +++ b/please.sh @@ -469,16 +469,16 @@ function main() { check_key get_command + + if test "${command}" = "${fail_msg}"; then + exit 1 + fi if [ "${explain}" -eq 1 ]; then explain_command fi print_option - if test "${command}" = "${fail_msg}"; then - exit 1 - fi - init_questions choose_action act_on_action