scripts/help in rvm-1.0.0 vs scripts/help in rvm-1.0.1

- old
+ new

@@ -9,18 +9,18 @@ # Reserved for future use: args=$(echo "$*" | awk '{$1=""; $2="" ; print}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') if [[ ! -z "$command" ]] && [[ -s "${rvm_help_path}/${command}" ]] ; then if [[ ! -z "$action" ]] && [[ -s "${rvm_help_path}/${command}/${action}" ]] ; then - cat "${rvm_help_path}/${command}/${action}" | ${PAGER:-less} + ${PAGER:-less} "${rvm_help_path}/${command}/${action}" else - cat "${rvm_help_path}/${command}" | ${PAGER:-less} + ${PAGER:-less} "${rvm_help_path}/${command}" fi else - cat "${rvm_path:-$HOME/.rvm}/README" | ${PAGER:-less} - $rvm_scripts_path/log "info" "\nCommands available with 'rvm help':\n\n $(builtin cd "${rvm_help_path}" ; \ls | \tr "\n" ' ')" + ${PAGER:-less} "${rvm_path:-$HOME/.rvm}/README" + $rvm_scripts_path/log "info" "Commands available with 'rvm help':\n\n $(builtin cd "${rvm_help_path}" ; \ls | \tr "\n" ' ')" fi -$rvm_scripts_path/log "info" "\nFor additional information please visit RVM's documentation website:\n\n http://rvm.beginrescueend.com/" -$rvm_scripts_path/log "info" "\nIf you still cannot find what an answer to your question, find me 'wayneeseguin' in #rvm on irc.freenode.net:\n\n http://webchat.freenode.net/?channels=rvm\n" +$rvm_scripts_path/log "info" "For additional information please visit RVM's documentation website:\n\n http://rvm.beginrescueend.com/" +$rvm_scripts_path/log "info" "If you still cannot find what an answer to your question, find me 'wayneeseguin' in #rvm on irc.freenode.net:\n\n http://webchat.freenode.net/?channels=rvm\n" exit $?