Sha256: b771d4d2eeeca41932c84665e2a05161fe0689d632fd41741f2b40ada3e94669

Contents?: true

Size: 1.15 KB

Versions: 17

Compression:

Stored size: 1.15 KB

Contents

#!/usr/bin/env bash

rvm_base_except="selector"

source "$rvm_path/scripts/base"

rvm_help_path="${rvm_help_path:-"$rvm_path/help"}"

args=($*)

command="${args[$__array_start]}"
args[$__array_start]=""
args=(${args[@]})

action="${args[$array_start]}"
args[$__array_start]=""
args=(${args[@]})
pager="${PAGER:-less}"

if [[ -n "$command" && -s "${rvm_help_path}/${command}" ]] ; then

  if [[ -n "$action" && -s "${rvm_help_path}/${command}/${action}" ]] ; then

    $pager "${rvm_help_path}/${command}/${action}"

  else

    $pager "${rvm_help_path}/${command}"

  fi

else

  $pager "${rvm_path:-$HOME/.rvm}/README"

  "$rvm_path/scripts/log" "info" \
    "Commands available with 'rvm help':\n\n    $(builtin cd "${rvm_help_path}" ; find . -maxdepth 1 -mindepth 1 -type f -print | \tr "\n" ' ' | sed -e 's#./##g')"
fi

"$rvm_path/scripts/log" "info" \
  "For additional information please visit RVM's documentation website:\n\n    http://rvm.beginrescueend.com/"

"$rvm_path/scripts/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 $?

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
rvm-1.0.21 scripts/help
rvm-1.0.20 scripts/help
rvm-1.0.19 scripts/help
rvm-1.0.18 scripts/help
rvm-1.0.17 scripts/help
rvm-1.0.15 scripts/help
gemrage-1.0.0 vendor/ruby/1.8/gems/rvm-1.0.14/scripts/help
gemrage-0.4.1 vendor/ruby/1.8/gems/rvm-1.0.14/scripts/help
gemrage-0.4.0 vendor/ruby/1.8/gems/rvm-1.0.14/scripts/help
gemrage-0.3.2 vendor/ruby/1.8/gems/rvm-1.0.14/scripts/help
gemrage-0.3.1 vendor/ruby/1.8/gems/rvm-1.0.14/scripts/help
gemrage-0.3.0 vendor/ruby/1.8/gems/rvm-1.0.14/scripts/help
gemrage-0.2.0 vendor/ruby/1.8/gems/rvm-1.0.14/scripts/help
gemrage-0.1.2 vendor/ruby/1.8/gems/rvm-1.0.14/scripts/help
rvm-1.0.14 scripts/help
rvm-1.0.13 scripts/help
rvm-1.0.11 scripts/help