Include install and uninstall in help if ruby-build is installed

This commit is contained in:
Sam Stephenson 2012-12-30 15:30:37 -06:00
parent eb79a3edaa
commit 51467dc4a3

View file

@ -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"