Include install
and uninstall
in help if ruby-build is installed
This commit is contained in:
parent
eb79a3edaa
commit
51467dc4a3
@ -93,8 +93,6 @@ print_summary() {
|
|||||||
|
|
||||||
if [ -n "$summary" ]; then
|
if [ -n "$summary" ]; then
|
||||||
printf " %-9s %s\n" "$command" "$summary"
|
printf " %-9s %s\n" "$command" "$summary"
|
||||||
else
|
|
||||||
return 1
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -145,7 +143,7 @@ if [ -z "$1" ] || [ "$1" == "rbenv" ]; then
|
|||||||
[ -z "$usage" ] || exit
|
[ -z "$usage" ] || exit
|
||||||
echo
|
echo
|
||||||
echo "Some useful rbenv commands are:"
|
echo "Some useful rbenv commands are:"
|
||||||
print_summaries commands rehash global local shell version versions which whence
|
print_summaries commands global local shell install uninstall rehash version versions which whence
|
||||||
echo
|
echo
|
||||||
echo "See \`rbenv help <command>' for information on a specific command."
|
echo "See \`rbenv help <command>' for information on a specific command."
|
||||||
echo "For full documentation, see: https://github.com/sstephenson/rbenv#readme"
|
echo "For full documentation, see: https://github.com/sstephenson/rbenv#readme"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user