소스 검색

Merge pull request #914 from yyuu/sh-help-stderr

Help message should not be written to stdout for `sh-` commands
pull/927/head^2
Mislav Marohnić 9 년 전
committed by GitHub
부모
커밋
1b751261ce
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. +5
    -1
      libexec/rbenv

+ 5
- 1
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

불러오는 중...
취소
저장