scripts/cli in rvm-1.0.11 vs scripts/cli in rvm-1.0.13
- old
+ new
@@ -1,19 +1,20 @@
#!/usr/bin/env bash
__rvm_usage() { ${PAGER:-less} "${rvm_path:-$HOME/.rvm}/README" ; }
-__rvm_run_script() {
+__rvm_run_script()
+{
local rvm_script_name="${1:-"$rvm_action"}"
eval "$rvm_path/scripts/$rvm_script_name $rvm_ruby_args"
return $?
}
-__rvm_parse_args() {
-
+__rvm_parse_args()
+{
# TODO:
# Make this more robust '__rvm_history' so that it stores *unique* rvm commands.
# Otherwise this file gets big rather fast.
#echo "$@" >> $HOME/.rvm_history
@@ -592,11 +593,11 @@
"$rvm_path/scripts"/log "fail" "$rvm_error_message ( see: 'rvm usage' )"
return 1
fi
}
-rvm() {
-
+rvm()
+{
local result
__rvm_setup
case $- in *i*) rvm_interactive_flag=1 ;;