diff --git a/libexec/rbenv b/libexec/rbenv index b65ca112..a7c4cc5a 100755 --- a/libexec/rbenv +++ b/libexec/rbenv @@ -111,6 +111,10 @@ case "$command" in fi shift 1 - exec "$command_path" "$@" + if [ "$1" = --help ]; then + exec rbenv-help "$command" + else + exec "$command_path" "$@" + fi ;; esac