diff --git a/libexec/rbenv b/libexec/rbenv index d77df669..07847a66 100755 --- a/libexec/rbenv +++ b/libexec/rbenv @@ -109,7 +109,11 @@ case "$command" in shift 1 if [ "$1" = --help ]; then - exec rbenv-help "$command" + if [[ "$command" == "sh-"* ]]; then + echo "rbenv help \"$command\"" + else + exec rbenv-help "$command" + fi else exec "$command_path" "$@" fi