/
help
executable file
·51 lines (31 loc) · 1.03 KB
/
help
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env bash
rvm_base_except="selector"
source "$rvm_scripts_path/base"
args=($*)
_command="${args[$__array_start]}"
args[$__array_start]=""
args=(${args[@]})
action="${args[$array_start]}"
args[$__array_start]=""
args=(${args[@]})
pager="${PAGER:-cat}"
if [[ -n "$_command" && -s "${rvm_help_path}/${_command}" ]] ; then
if [[ -n "$action" && -s "${rvm_help_path}/${_command}/${action}" ]] ; then
eval "$pager '${rvm_help_path}/${_command}/${action}'"
else
eval "$pager '${rvm_help_path}/${_command}'"
fi
else
eval "$pager '${rvm_path:-$HOME/.rvm}/README'"
rvm_log "
Commands available with 'rvm help':
$(builtin cd "${rvm_help_path}" ; find . -maxdepth 1 -mindepth 1 -type f -print | \tr "\n" ' ' | sed -e 's#./##g')
"
fi
rvm_log "
For additional information please visit RVM's documentation website:
https://rvm.beginrescueend.com/
If you still cannot find what an answer to your question, find me 'wayneeseguin' in #rvm on irc.freenode.net:
http://webchat.freenode.net/?channels=rvm
"
exit $?