scripts/help in rvm-1.0.2 vs scripts/help in rvm-1.0.3

- old
+ new

@@ -2,12 +2,13 @@ rvm_base_except="selector" source "$rvm_scripts_path/base" rvm_help_path="${rvm_help_path:-"$rvm_path/help"}" -command="$1" ; shift -action="$1" ; shift -args="$(echo $*) " # Strip trailing / leading / extra spacing. +args=($*) +command="${args[0]}" +action="${args[1]}" +args="$(echo ${args[@]:2}) " # Strip trailing / leading / extra spacing. if [[ ! -z "$command" ]] && [[ -s "${rvm_help_path}/${command}" ]] ; then if [[ ! -z "$action" ]] && [[ -s "${rvm_help_path}/${command}/${action}" ]] ; then "${PAGER:-less}" "${rvm_help_path}/${command}/${action}" else