install in rvm-1.0.21 vs install in rvm-1.0.22

- old
+ new

@@ -40,11 +40,11 @@ --help : Display help/usage (this) message --version : display rvm package version - " + \n" } check_rubyopt_conditions() { if [[ -n "${RUBYOPT:-""}" ]]; then @@ -190,10 +190,18 @@ --trace) echo "$*" env | grep '^rvm_' set -o xtrace ;; - --help|*) usage ;; + --help) + usage + exit 0 + ;; + *) + echo "Unrecognized option: $token" + usage + exit 1 + ;; esac done if [[ -z "${rvm_prefix:-""}" ]] ; then __rvm_load_rvmrc