scripts/cli in rvm-0.0.91 vs scripts/cli in rvm-0.0.92

- old
+ new

@@ -57,12 +57,11 @@ ;; gems|gemset) rvm_action="gems" if [[ "name" = "$1" ]] || [[ "dir" = "$1" ]] || [[ "list" = "$1" ]] || [[ "empty" = "$1" ]] || [[ "delete" = "$1" ]] || [[ "dump" = "$1" ]] || [[ "load" = "$1" ]] ; then - rvm_ruby_args="$*" - #export rvm_${1}_flag=1 ; shift + rvm_ruby_args="$*" ; export rvm_${1}_flag=1 ; shift else rvm_gem_set_name="$1" ; shift export rvm_use_flag=1 # Default is to use the (named) gem set. fi ;; @@ -203,11 +202,11 @@ fi ;; -C|--configure) if [[ ! -z "$1" ]] ; then - rvm_ruby_configure_flags="$(echo $1 | tr ',' ' ')" + export rvm_ruby_configure_flags="$(echo $1 | tr ',' ' ')" shift else rvm_action="error" rvm_error_message="--configure *must* be followed by configure flags." fi @@ -260,10 +259,10 @@ --archflags) rvm_archflags="$1" ; shift ;; tests|specs) rvm_action="tests" ;; --trace) export rvm_trace_flag=1 ; set -x ;; - --self|--gem|--rubygems|--reconfigure|--default|--debug|--force|--all|--dump|--summary|--jit|--latest|--yaml|--json|--archive|--shebang|--env|--path|--tail|--delete|--verbose) + --self|--gem|--rubygems|--reconfigure|--default|--debug|--force|--all|--dump|--summary|--jit|--latest|--yaml|--json|--archive|--shebang|--env|--path|--tail|--delete|--verbose|--load) export rvm_$(echo $rvm_token | sed 's#-##g')_flag=1 if [[ "--debug" = "$rvm_token" ]] ; then export rvm_debug_flag ; fi ;; reboot|flush|asdf|damnit|wtf|argh|work|workdamnit|BOOM|boom|wth)