scripts/cli in rvm-0.1.23 vs scripts/cli in rvm-0.1.24

- old
+ new

@@ -193,47 +193,47 @@ rvm_action="error" rvm_error_message="--ree-options *must* be followed by... well... options." fi ;; - -t|--tag) - rvm_ruby_tag="$1"; - rvm_action="${rvm_action:-use}" - shift - ;; - # For use with --patch --patch-name) export rvm_ruby_patch_name="$1" ; shift ;; - -h|--patch) if [[ -z "$rvm_ruby_patch" ]] ; then export rvm_ruby_patch="$1" else export rvm_ruby_patch="$rvm_ruby_patch,$1"; fi ; shift rvm_action="${rvm_action:-use}" ;; --head) - if [[ -z "$rvm_ruby_string" ]] ; then export rvm_ruby_string="head"; else export rvm_ruby_string="${rvm_ruby_string}-head" ; fi - rvm_ruby_revision="head" + #if [[ -z "$rvm_ruby_string" ]] ; then export rvm_ruby_string="head"; else export rvm_ruby_string="${rvm_ruby_string}-head" ; fi + #rvm_action="${rvm_action:-use}" + #rvm_ruby_revision="head" export rvm_head_flag=1 - rvm_action="${rvm_action:-use}" ;; - --rev|--revision) - rvm_ruby_revision="$1"; - rvm_action="${rvm_action:-use}" - shift - ;; + # + # Legacy items, replaced with ruby strings. + # + #-t|--tag) + # rvm_ruby_tag="$1"; + # rvm_action="${rvm_action:-use}" + # shift + #;; + #--rev|--revision) + # rvm_ruby_revision="$1"; + # rvm_action="${rvm_action:-use}" + # shift + #;; + #-b|--branch) + # rvm_ruby_branch="$1"; + # rvm_action="${rvm_action:-use}" + # shift + #;; - -b|--branch) - rvm_ruby_branch="$1"; - rvm_action="${rvm_action:-use}" - shift - ;; - --bin) if [[ "update" = "$rvm_action" ]] ; then export rvm_bin_flag=1 else rvm_bin_path="$1" ; shift @@ -309,10 +309,10 @@ --trace) export rvm_trace_flag=1 ; set -x ;; --proxy) export rvm_proxy="$1" ; shift ;; --disable-llvm|--disable-jit) export rvm_llvm_flag=0 ;; --enable-llvm|--enable-jit) export rvm_llvm_flag=1 ;; - --self|--gem|--rubygems|--reconfigure|--default|--debug|--force|--all|--export|--summary|--latest|--yaml|--json|--archive|--shebang|--env|--path|--tail|--delete|--verbose|--import|--rvmrc|--passenger|--editor|--sticky) + --self|--gem|--rubygems|--reconfigure|--default|--debug|--force|--export|--summary|--latest|--yaml|--json|--archive|--shebang|--env|--path|--tail|--delete|--verbose|--import|--rvmrc|--passenger|--editor|--sticky|--create|--rvmrc) 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)