scripts/cli in rvm-1.0.18 vs scripts/cli in rvm-1.0.19
- old
+ new
@@ -152,11 +152,11 @@
rvm_user_flag=1
if [[ $# -gt 0 ]] ; then next_token="$1" ; shift ; else next_token="" ; fi
fi
;;
- inspect|list|info|strings)
+ inspect|list|info|strings|get)
rvm_action="$rvm_token"
rvm_ruby_args="$next_token $@"
rvm_parse_break=1
;;
@@ -737,10 +737,11 @@
export rvm_ruby_strings rvm_ruby_string
"$rvm_path/scripts/monitor"
;;
notes) "$rvm_path/scripts/notes" ;;
+ get) "$rvm_path/scripts/get" $rvm_ruby_args ;;
reload) rvm_reload_flag=1 ;;
tests|specs) rvm_action="rake" ; __rvm_do ;;
package) "$rvm_path/scripts/package" $rvm_ruby_args ;;
fetch|install|uninstall|remove)
@@ -773,21 +774,22 @@
# Note: Not using builtin on purpose. Done so we can trigger a reload the rvmrc.
__rvm_project_rvmrc
fi
- __rvm_teardown
-
if [[ ${rvm_trace_flag:-0} -eq 1 ]] ; then
rvm_trace_flag=0
set +o verbose
set +o noclobber
set +o nounset
+ set +o xtrace
if [[ -z "${ZSH_VERSION:-""}" ]] ; then
set +o errtrace
fi
fi
+
+ __rvm_teardown
return ${result:-0}
}