From 51467dc4a3f838b2e9b8e2689737f1a4931d353d Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Sun, 30 Dec 2012 15:30:37 -0600 Subject: [PATCH] Include `install` and `uninstall` in help if ruby-build is installed --- libexec/rbenv-help | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libexec/rbenv-help b/libexec/rbenv-help index e42a123a..ca3607d9 100755 --- a/libexec/rbenv-help +++ b/libexec/rbenv-help @@ -93,8 +93,6 @@ print_summary() { if [ -n "$summary" ]; then printf " %-9s %s\n" "$command" "$summary" - else - return 1 fi } @@ -145,7 +143,7 @@ if [ -z "$1" ] || [ "$1" == "rbenv" ]; then [ -z "$usage" ] || exit echo 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 "See \`rbenv help ' for information on a specific command." echo "For full documentation, see: https://github.com/sstephenson/rbenv#readme"